Hi,
In order to control a variable from Matlab, I add a "From RTDX" block in the ADC-PWM subsystem (this call-function is executed every 50 us) of the simulink model. The sample time of RTDX is set to 0.01, but it got errors: "an invalid sample time. Only constant (inf) or inherited (-1) sample times are allowed in the asynchronous subsystem". Then i change the RTDX sample time to inf (and -1), the simulink model can build, load and run at F28335, but there are no PWM output anymore. After further check, i found that the DSP actually did not run into the call-function after RTDX block is added. Can you tell me how to fix it?
Kind regards,
Jerry