out=sim(net, test1) 'model' parameter must be a character vector, What is the erroe?
Show older comments
out=sim(net, test1) 'model' parameter must be a character vector
What is the error?
Answers (1)
Andinet Hunde
on 27 Jun 2019
Assuming that test1 is a struct of parameters (name-value pair), you need to pass the name of the model as a string. Try:
out=sim('net', test1)
Categories
Find more on Simulink Test 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!