Clear Filters
Clear Filters

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

2 views (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)

Community Treasure Hunt

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

Start Hunting!