simulink Array plot channel bug?

1 view (last 30 days)
when I array plot three vector use 3 port , start a run simulation but the channel1 channel2 channel3 sometimes not the same order as the port from up to down?
  11 Comments
ElectronicABC
ElectronicABC on 14 Dec 2023
Edited: ElectronicABC on 14 Dec 2023
I have attached my test model
ElectronicABC
ElectronicABC on 15 Dec 2023
It's a bug on 2021A,run the other computer with 2023 all work

Sign in to comment.

Accepted Answer

Angelo Yeo
Angelo Yeo on 15 Dec 2023
Thank you for the model and explanation. I can reproduce the issue with your model in R2021a. Also, as you mentioned, it is not reproducible in recent releases of MATLAB.
It is highly possible that this has been a bug but fixed after R2021a. MathWorks does fix bugs and publishes "updates" for each release. However, as far as I know, R2021a is done with updates with R2021a Update 8.
In this case, I don't think there can be workarounds for R2021a other than updating MATLAB to recent releases.
  1 Comment
Angelo Yeo
Angelo Yeo on 15 Dec 2023
There can be patches that development team can provide. If you insist to use R2021a, you can reach out to technical support and ask for it. However, I cannot guarantee for patch files because some issues cannot be fixed only with patches.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!