- Signal builder to import data from file/workspace
- 'FromWorkspace' block will take data from workspace and use in simulink model
How can I import data to simulink from the workspace
1 次查看(过去 30 天)
显示 更早的评论
Hi folks,
I am new to Simulink and was trying to build my first model.
First, I want to import data from the workspace, which is a 10000 X 1 matrix. The data is the velocity of the vehicle every second. After some computions I want to scope the results to corresponding time.
How can I import data from the workspace and then do the calculations with the corresponding time?
0 个评论
采纳的回答
Sudhakar Shinde
2020-10-13
The data available in base workspace can access your simulink model during simulation.
If you would like to provide timeseries data as a input to your simulink model you can use:
more detail about FromWorkspace:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!