Unresolved symbols in Test Sequence

47 Ansichten (letzte 30 Tage)
Stefan Fluck
Stefan Fluck am 20 Jul. 2018
Beantwortet: Mohan Feng am 10 Jun. 2024
I am trying to design a test harness and when running it via the Test Manager, I always get an error message "Chart 'VoterTest_Harness1/Test Sequence' has unresolved symbols.". What exactly constitutes a "unresolved symbol"? I checked in the Test Sequence block and all the data types are specified and congruent with the respective blocks. Also, all of them are at least once used in the Test Sequence. How do I "resolve" such "symbols"?

Antworten (2)

Rong Mi
Rong Mi am 8 Aug. 2018
To narrow down the cause why you get the error message, you can try two things here:
1. Just simulate your design model containing the Test Sequence block to see whether you still get the same error.
2. It looks you have a Stateflow Chart in your model, you can also check the document page of Stateflow (https://www.mathworks.com/help/stateflow/ug/resolving-event-data-and-function-symbols-in-stateflow-action-language.html) to see whether it can provide any hint.
Could you please tell me which release of MATLAB are you using? Thank you.

Mohan Feng
Mohan Feng am 10 Jun. 2024
"unresolved symbols" indicates that some symbol is used in steps and transitions but not defined in "Symbols" panel. If you compile the model in Simulink without using Test Manager, a pop up dialog should show you which symbol used requries definition.

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by