Why do I get error: "The simulink signal object AAA for output port 1 of block BBB was changed during simulation
4 views (last 30 days)
Show older comments
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 !
0 Comments
Answers (1)
Abhijeet
on 20 Nov 2023
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!