How to solve the error ['model' parameter must be a string ]?

I have this (.mat) file,,I want to use Y=sim([Brain],P); P any variable like P = [.2; .9]

 採用された回答

Stephan
Stephan 2018 年 10 月 8 日

0 投票

Hi,
sim expects the model name as a string - try:
Y=sim('Brain',P);
instead.
Best regards
Stephan

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2018 年 10 月 8 日

回答済み:

2018 年 10 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by