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!