Why can’t I run my model in SIL mode when I have my toolchain set to “CMake”?
I am trying to run a Simulink Test Harness which tests a model with its "Toolchain" parameter set to "CMake". However, when I run my test under SIL mode, I receive the following error message:
An error occurred (‘Simulink:modelReference:TargetUpdateError’) when calling ‘sim’:
Unable to update models referenced by ‘modelHarness’.
Selected toolchain ‘CMake’ does not support executing the build artifact when generating code, and requires ‘Generate code only’ to be enabled.
How can I run my Simulink Test?I am trying to run a Simulink Test Harness which tests a model with its "Toolchain" parameter set to "CMake". However, when I run my test under SIL mode, I receive the following error message:
An error occurred (‘Simulink:modelReference:TargetUpdateError’) when calling ‘sim’:
Unable to update models referenced by ‘modelHarness’.
Selected toolchain ‘CMake’ does not support executing the build artifact when generating code, and requires ‘Generate code only’ to be enabled.
How can I run my Simulink Test? I am trying to run a Simulink Test Harness which tests a model with its "Toolchain" parameter set to "CMake". However, when I run my test under SIL mode, I receive the following error message:
An error occurred (‘Simulink:modelReference:TargetUpdateError’) when calling ‘sim’:
Unable to update models referenced by ‘modelHarness’.
Selected toolchain ‘CMake’ does not support executing the build artifact when generating code, and requires ‘Generate code only’ to be enabled.
How can I run my Simulink Test? cmake, toolchain, sil MATLAB Answers — New Questions