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

1 Ansicht (letzte 30 Tage)
Bajdar Nour
Bajdar Nour am 8 Okt. 2018
Beantwortet: Stephan am 8 Okt. 2018
I have this (.mat) file,,I want to use Y=sim([Brain],P); P any variable like P = [.2; .9]

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by