필터 지우기
필터 지우기

Why do I get error: "The simulink signal object AAA for output port 1 of block BBB was changed during simulation

조회 수: 5 (최근 30일)
Hello,
For information, I'm using matlab R2017b.
I currrently use a simulink data dictionnary to store my simulink signal. For my simulation, I trigger a model where and there are severals "signal conversion" block into this triggered model. Here a example of using the block. (the trigger condition is a pulse with various frequency and the model is in fixed step discret with a 1 ms step) Here an example of using the block:
But when I run my simulation, I have this specific error:
Here qre my signal properties:
I have already find ways to fix the problem but it isn't what I want:
  • Solution 1: Deleting the Signal convertion block
  • Solution 2: In the signal propertie, desable "Signal name must resolve to Simulink sognal object"
Thanks for helping me !

답변 (1개)

Abhijeet
Abhijeet 2023년 11월 20일
Hi Adrein,
I understand that you are getting error message of the following type "The Simulink signal object AAA for output port 1 of block BBB was changed during simulation “ while simulating the model.
To resolve this issue, I suggest you to verify if the objects are initialized prior to the start of simulation .Also, check the callbacks and initialize functions of masks.
In R2017b the checks are made stricter, that is why this error comes up in R2017b and not in earlier releases.
I hope this resolves the issue you were facing.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by