simulink variables reading error
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
hello evrybady; in may simulink project i have a structural variable (this variable behave 20 matrix),and i want to read this variable from simulink,but when i used 'Fromworkspace' they give me error. please help me
댓글 수: 1
Azzi Abdelmalek
2012년 8월 6일
can you explain how this variable will be used?
답변 (3개)
Kaustubha Govind
2012년 8월 6일
1 개 추천
See this documentation page for information on using a structure as the Value parameter in the Constant block.
댓글 수: 4
latsi lab
2012년 8월 6일
latsi lab
2012년 8월 8일
Kaustubha Govind
2012년 8월 8일
Oops. Looks like the Constant block added support for bus signals only in R2010b. You might want to check if you are able to import your data using the Inport block in your version. Note that you will need to create timeseries objects. It appears that the From Workspace block also supports importing bus signals in the form of a structue of timeseries objects, just like the Inport block.
이 질문은 마감되었습니다.
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!