I am facing the issue "Error: State: failed due to an unexpected error (MATLAB:un​definedVar​OrClass)" while using Polyspace R2019A

3 views (last 30 days)
Once my code enters in to the Job Queue i am receiving the below errors:
Error: Remote execution has failed
Error: State: failed due to an unexpected error (MATLAB:undefinedVarOrClass)
Error: Job State: finished

Answers (1)

Yongjian Feng
Yongjian Feng on 20 Nov 2021
You are using Polyspace to analyze your code?
Can you code run inside matlab successfully first? Seems like there might be undefined variables.

Community Treasure Hunt

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

Start Hunting!