How to create & connect a view scope to a signal link in Simulink, via a Matlab script?
1 view (last 30 days)
Show older comments
Hello, I am trying to create & connect a view scope to a signal link in Simulink via a Matlab script. I succeed in getting the Line Handle, but not in creating & connecting a view scope to the lines:
% code
blockPathList = find_system('pathofthefile', 'Tag', 'toModify');
for i=1:length(blockPathList)
Ports = get_param(blockPathList(i), 'PortHandles');
LineHandle = get_param(PortHandle, 'Line');
end
In fact, I would like to put these sunglasses via a Matlab Script, not by the hand:

Thank you for your help!
0 Comments
Answers (0)
See Also
Categories
Find more on Sources 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!