read data from a .mat file one by one using simulink and run it on a realtime system.
2 views (last 30 days)
Show older comments
I have 1000 samples of pressure data in a .mat file. I want to read this data one by one using simulink and display it. When i use 'from file' block, the data is parallelly being sent. But I want it to be sent one by one. I used 'from workspace' block and it worked very well offline. But when i run the same on a real time operating system, an error saying 'undefined variable using from workspace' is displayed.
So basically I want to read 1000 samples of data from a file one by one using simulink on a realtime system.
Please help me to resolve this issue. Thanks in advance.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!