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

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

Accepted Answer

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

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!