how to use a data from matlab as a input in simulink
Info
This question is closed. Reopen it to edit or answer.
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
Vivi
on 16 Jul 2013
Answers (1)
Andreas Goser
on 16 Jul 2013
0 votes
There is a "From Workspace" block in the sources library. That's all you need. And there is a documentation.
6 Comments
Vivi
on 16 Jul 2013
Andreas Goser
on 16 Jul 2013
It would help to post the error. Try simple test data first so that you understand the block. Feel free to post more details here.
Vivi
on 16 Jul 2013
Vivi
on 16 Jul 2013
Andreas Goser
on 16 Jul 2013
What does "which data -all" return?
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.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!