Weird issue with Simulink model
Show older comments
At work I’m working with a new version of the model that I’ve been working with. In the previous version of the model I haven’t had any problems at all, but now I’m running into a weird one right now.
If I open the model, do a search (find) on the model with a name, I only get one result. But if I type:
find_system('FindAll', 'on', 'Name', 'VariableName')
it return multiple instances of the name. This causes my tool to do not work properly. Has anyone seen an instance where find returns a number of instances but find_system returns a different number. All the instances of the handles I got from find_system are centered around the single instance returned from find.
Accepted Answer
More Answers (0)
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!