How to send variable signals in Simulink?

3 visualizaciones (últimos 30 días)
Anup
Anup el 28 de En. de 2023
Comentada: Sulaymon Eshkabilov el 29 de En. de 2023
I have the signal I need to use in simulink model. The x-axis is time step while the y-axis is the value at each time step. I have a csv file of this data. How to use this in simulink?

Respuesta aceptada

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 29 de En. de 2023
Simulink has [From Spreadsheet] block that can be used to read data from an external file - *.csv.
Here is one example (DATA_read.slx and Data.csv - attached to theis post) - Simulink model with external data reading block - [From Spreadsheet] with discrete solver with a step size of 0.001.
  2 comentarios
Anup
Anup el 29 de En. de 2023
Could you send the slx file in downgraded version? I have R2022a

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by