I have a problem in simscape compiling. I need to "tune" some parameters from an external source (I already do this with a compiled simulink model) hence, with simscape I have to set them as "run-time parameters".
In this way setting the target to ert ( create visual studio solution) I am able to compile an exe file which gives me the same output of the simscape model.
Anyway my final goal is to create a DLL file that can be imported into an external software (OrcaFlex). But when I compile the project (adding a wrapper), OrcaFlex gives me the error "floating point division by zero".
If I compile the model without run-time parameters it works.
Anyone can help me?
Thanks in advance,