Unresolved symbols in Test Sequence

47 次查看(过去 30 天)
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"?

回答(2 个)

Rong Mi
Rong Mi 2018-8-8
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 2024-6-10
"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.

类别

Help CenterFile Exchange 中查找有关 Inputs 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by