필터 지우기
필터 지우기

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