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]

 Accepted Answer

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

More Answers (0)

Asked:

on 8 Oct 2018

Answered:

on 8 Oct 2018

Community Treasure Hunt

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

Start Hunting!