How to send variable signals in Simulink?

1 次查看(过去 30 天)
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?

采纳的回答

Sulaymon Eshkabilov
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by