hi,
I am using MATLAB 2007a to get the Signal Names in a BusCreator within a library model. I tried uisng following script:
ph = get_param(gcb,'PortHandles');
lh = get_param(ph.Outport,'line');
set(lh,'signalPropagation','all'); % Even I tried with, set(lh,'signalPropagation','on');
SigNames = get_param(ph.Outport(1),'PropagatedSignals');
But SigNames turns out to be an empty string. In the model a symbol '<>' appears at the output line of the BusCreator. If i click on the symbol, all the output signals appear. Also the command,
SigNames = get_param(ph.Outport(1),'PropagatedSignals');
returns a comma separated string of signal names in the BusCreator.
Please help me to solve the above problem, so that I can get the signal names in the BusCreator without opening the library.
1 Comment
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/45038-how-to-get-the-signal-names-in-the-bus-creator#comment_92582
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/45038-how-to-get-the-signal-names-in-the-bus-creator#comment_92582
Sign in to comment.