return variable of Sim() command

1 Ansicht (letzte 30 Tage)
Krishnendu Mukherjee
Krishnendu Mukherjee am 26 Jan. 2012
simout=sim('mymodel','AbsTol', '1e-5','SaveState','on','StateSaveName','xoutNew','SaveOutput','on', 'OutputSaveName','youtNew');
using this command but getting a error "TIMESPAN" should be real vector/scelor.

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 26 Jan. 2012
The syntax that you are using was introduced in R2009b. If you're using R2009a or an older release, the second parameter needs to be a timespan vector. Also, you need to use the Backwards Compatible Syntax.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by