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

madhan ravi
madhan ravi 2023년 12월 14일
Please attach the model and plot picture.
ElectronicABC
ElectronicABC 2023년 12월 14일
ElectronicABC
ElectronicABC 2023년 12월 14일
you can see the data input is the same .but color not the same
madhan ravi
madhan ravi 2023년 12월 14일
color doesn"t matter, you didn"t show the legend from the first plot
ElectronicABC
ElectronicABC 2023년 12월 14일
the legend from the first plot is the same as bottom
madhan ravi
madhan ravi 2023년 12월 14일
show the picture and attach your model
ElectronicABC
ElectronicABC 2023년 12월 14일
madhan ravi
madhan ravi 2023년 12월 14일
why don"t you attach your model?
ElectronicABC
ElectronicABC 2023년 12월 14일
이동: madhan ravi 2023년 12월 14일
run and stop the model multiple times ,you can see the channel changed.
ElectronicABC
ElectronicABC 2023년 12월 14일
편집: ElectronicABC 2023년 12월 14일
I have attached my test model
ElectronicABC
ElectronicABC 2023년 12월 15일
It's a bug on 2021A,run the other computer with 2023 all work

댓글을 달려면 로그인하십시오.

 채택된 답변

Angelo Yeo
Angelo Yeo 2023년 12월 15일

1 개 추천

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

Angelo Yeo
Angelo Yeo 2023년 12월 15일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2023년 12월 14일

댓글:

2023년 12월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by