what to write in Matlab, use which block,and what to set in Simulink to allow the Simulink to read this data.
Info
This question is closed. Reopen it to edit or answer.
how to use a data from matlab as a input in simulink
1 view (last 30 days)
Show older comments
Hi, I am new in matlab and simulink. I calculated a motion with time in matlab and then I would like to use it as a input data in simulink. Anyone can teach me how to do this please. Please tell more details as I am really really new user. Thanks.
1 Comment
Answers (1)
Andreas Goser
on 16 Jul 2013
There is a "From Workspace" block in the sources library. That's all you need. And there is a documentation.
6 Comments
Andreas Goser
on 16 Jul 2013
I am under the impression that "data" is a variable in the workspace, If it is in a file, indeed (if in the right format), then indeed From File block
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!