Matlab Simulink how to select elements by matlab script
1 view (last 30 days)
Show older comments
Hello,
for code testing, I'd like to select elements of a matlab simulink model by matlab code.
I'd expect to get the (line) handle of the selected simulink item returned AFTER selecting the elements by script.
% * code to select constant1 block *
handle_of_constant1 = find_system(bdroot,'FindAll','on','Selected','on');
Thank you in advance!
0 Comments
Answers (0)
See Also
Categories
Find more on Inputs 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!