How to import data from workspace to simulink using input port ( not simin or from mat file)

3 visualizzazioni (ultimi 30 giorni)
How to import data from workspace to simulink using input port (not simin or from mat file)

Risposta accettata

Dishant Arora
Dishant Arora il 13 Lug 2015
You should make use of from workspace(simin) block for importing data from workspace. Inport block is used to establish the link between the susbsystem and the root. But still if you want to make use of inport block define time series and data vector as columns in workspace. You can then go to simulation configuration paramemters > data import/export , there you can specify the input matrix(m x 2)

Più risposte (0)

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by