How to send variable signals in Simulink?
1 view (last 30 days)
Show older comments
Anup
on 28 Jan 2023
Commented: Sulaymon Eshkabilov
on 29 Jan 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1276855/image.png)
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?
Accepted Answer
Sulaymon Eshkabilov
on 29 Jan 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 Comments
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!