Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
sadia qasim
sadia qasim le 4 Avr 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Birdman
Birdman le 5 Avr 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 commentaires
sadia qasim
sadia qasim le 10 Avr 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....

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by