How to create & connect a view scope to a signal link in Simulink, via a Matlab script?
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!
Answers (0)
Categories
Find more on Create Requirement Links 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!