simulink variables reading error
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentar
Azzi Abdelmalek
am 6 Aug. 2012
can you explain how this variable will be used?
Antworten (3)
Kaustubha Govind
am 6 Aug. 2012
1 Stimme
See this documentation page for information on using a structure as the Value parameter in the Constant block.
4 Kommentare
latsi lab
am 6 Aug. 2012
latsi lab
am 8 Aug. 2012
Kaustubha Govind
am 8 Aug. 2012
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.
Azzi Abdelmalek
am 6 Aug. 2012
0 Stimmen
don't use from workspace, just use a "Constant" block
latsi lab
am 6 Aug. 2012
Diese Frage ist geschlossen.
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!