return variable of Sim() command

2 ビュー (過去 30 日間)
Krishnendu Mukherjee
Krishnendu Mukherjee 2012 年 1 月 26 日
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.

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 1 月 26 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by