BusSelector InputSignals computation time exploses (M2016b->M2022b)
Hello,
I’m testing a MATLAB script on a SIMULMINK model made of 1727 models, migrated from M2016b environment to M2022b environment.
The purpose of the script is to build a predecessor list for each model while analyzing the connections of the signals.
I’ve noticed the computation time to retrieve the list of input signals from BusSelector blocks has highly increased from M20163b to M2022b
With profiler, the following function
bus = get_param(handle, ‘InputSignals’);
can take 70-90 sec sometimes whereas it was never exceeding 1s before (M2016b).
Please see the screenshots from profiler
Is there any reason why this computation time can increase so much, and what king of workaround can I test.
As I’m analyzing the list of predecessors from each model inports, if I find a busSelector, I’m analyzing the signal names to compute the indexes within the bus structure where my signal is located in order to apply the same indexes when I meet the corresponding BusCreator blocks to continue the ascending propagation analysis.Hello,
I’m testing a MATLAB script on a SIMULMINK model made of 1727 models, migrated from M2016b environment to M2022b environment.
The purpose of the script is to build a predecessor list for each model while analyzing the connections of the signals.
I’ve noticed the computation time to retrieve the list of input signals from BusSelector blocks has highly increased from M20163b to M2022b
With profiler, the following function
bus = get_param(handle, ‘InputSignals’);
can take 70-90 sec sometimes whereas it was never exceeding 1s before (M2016b).
Please see the screenshots from profiler
Is there any reason why this computation time can increase so much, and what king of workaround can I test.
As I’m analyzing the list of predecessors from each model inports, if I find a busSelector, I’m analyzing the signal names to compute the indexes within the bus structure where my signal is located in order to apply the same indexes when I meet the corresponding BusCreator blocks to continue the ascending propagation analysis. Hello,
I’m testing a MATLAB script on a SIMULMINK model made of 1727 models, migrated from M2016b environment to M2022b environment.
The purpose of the script is to build a predecessor list for each model while analyzing the connections of the signals.
I’ve noticed the computation time to retrieve the list of input signals from BusSelector blocks has highly increased from M20163b to M2022b
With profiler, the following function
bus = get_param(handle, ‘InputSignals’);
can take 70-90 sec sometimes whereas it was never exceeding 1s before (M2016b).
Please see the screenshots from profiler
Is there any reason why this computation time can increase so much, and what king of workaround can I test.
As I’m analyzing the list of predecessors from each model inports, if I find a busSelector, I’m analyzing the signal names to compute the indexes within the bus structure where my signal is located in order to apply the same indexes when I meet the corresponding BusCreator blocks to continue the ascending propagation analysis. busselector, signal processing, time MATLAB Answers — New Questions