Codegen build issue in tutorial stepsize selection

Dear Concerned

Hi, I am trying to build the model presented in tutorial step size selection for RT Box. I get the attached error. It is the exact same model which i downloaded from website. Am i missing something? it works for analog in and anlog out components in subsystem when i try to to simulate the codegen model.

Thanks & Regards

Sanket

Newer versions of the RT Box Target Support Package (TSP) enforce additional restrictions to improve the accuracy of the offline models. Previously one could choose the “Generic” target and the simulation would work.

Now one must go into the “Coder + Coder options” window, open the “Target” tab and then choose an appropriate RT Box target. The advantage is that now the offline model will reflect target-specific settings, for example the “Analog Output Voltage Range” setting which may limit the output voltages to a specific range.

The models on the tutorials page are out of date and don’t reflect this latest requirement. We will update the models. Thanks for bringing it to our attention!