Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

i want to set array or data set as an input in my simulink model ...please help me to do this..??

1 view (last 30 days)
here is my model....in this model i want to set this array [0.025 0.05 0.075 0.1 0.125 0.15 0.175 0.2] as my input.... also the ouput should be in array form... i want to check the output in scope (graphically). please help

Answers (1)

Birdman
Birdman on 5 Apr 2018
For this purpose, use From Workspace block. Check how I formed the data inside the block. Hope this helps. Let me know if it works for you.
  14 Comments
sadia qasim
sadia qasim on 10 Apr 2018
you can see in the model that given Dd= [0.6096 1.219 1.8288 2.4384] as input, each value of this array will get divided by the constant 12.19214826 and ouput will be SR = [1.704 1.682 1.669 1.66].... But in your p2 edited file (using from workspace block) i can just see only one value gets displayed and in the worspace output is plotted with respect to time ..... I Have mention everything in the model ...please check it and help me to solve this either by workspace or constant....

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!