How to create & connect a view scope to a signal link in Simulink, via a Matlab script?
Afficher commentaires plus anciens
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!
Réponses (0)
Catégories
En savoir plus sur Create Requirement Links dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!