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

3 次查看(过去 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 中查找有关 Modeling 的更多信息

标签

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by