Why do I get error: "The simulink signal object AAA for output port 1 of block BBB was changed during simulation
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/993460/image.png)
But when I run my simulation, I have this specific error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/993465/image.png)
Here qre my signal properties:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/993470/image.png)
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 Commenti
Risposte (1)
Abhijeet
il 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 Commenti
Vedere anche
Categorie
Scopri di più su Subsystems in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!