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

3 visualizaciones (últimos 30 días)
How to import data from workspace to simulink using input port (not simin or from mat file)

Respuesta aceptada

Dishant Arora
Dishant Arora el 13 de Jul. de 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)

Más respuestas (0)

Categorías

Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by