How to link a plot or continous data from M-file to Simulink Model
2 views (last 30 days)
Show older comments
chittaranjan pradhan on 27 Dec 2012
Commented: chittaranjan pradhan on 23 Jan 2014
I have done a wind turbine Model. In M-file ,I have written the code of the wind power characteristics for different wind speed with respect to rootr speed. Please, help me ..How can I link the wind speed (Wind~Time graph)from M-file to Simulink Model??
When I used "Sim..." command only latest data came. Here, The wind Speed~Time is a continuous graph or data.So, How can I call the continuous datas or graph from the M-file to Simulink Model.
Muruganandham Subramanian on 27 Dec 2012
Edited: Muruganandham Subramanian on 27 Dec 2012
Have you tried with From workspace block?
To know more, refer this link: http://www.mathworks.com.au/help/simulink/slref/fromworkspace.html
More Answers (1)
Azzi Abdelmalek on 27 Dec 2012
Edited: Azzi Abdelmalek on 27 Dec 2012
You can use from file or from workspace block
then set the value of your from workspace block to ty
Find more on Modeling 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!