How to create & connect a view scope to a signal link in Simulink, via a Matlab script?

1 visualización (últimos 30 días)
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!

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by