Hi, I'm using Simulink test in order to create a back-to-back test scenario using simulink/statechart mode and C++ generated code (Embedded coder).
When I set target languge to C (for code generation), it works fine. But for C++ case, it has the error below
'C++ class cannot be generated for this subsystem because it cannot be converted to a model block: Simulation status of model 'stop_wait' is 'paused'. This indicates that the model is being run. Please stop the simulation, and rerun convertToModelReference. Simulation status of model 'stop_wait' is 'paused'. This indicates that the model is being run. Please stop the simulation, and rerun convertToModelReference.'
It is somehow strange, that prints a statement twice! also, there is not any running simulation that time.
I use:
Simulink Test -> Test Manager -> Create Test for Model Component -> Use component input from the top model as test input -> Perform back-to-back testing -> Done and this error raises as a window.
is there any limitation to use C++ as langauge (or target packaging interface) in Simulink Test?
thanks