MATLAB: How to link a plot or continous data from M-file to Simulink Model

call continuous datas from m-file to simu link... or link between m-file and simulink model

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.

Best Answer

Have you tried with From workspace block?
Related Question