Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(1 个)

Birdman
Birdman 2018-4-5
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 个评论
sadia qasim
sadia qasim 2018-4-10
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....

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by