How to setup a Simscape solution to deploy on a microcontroller running periodic loops
Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b.Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b. Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b. simscape on microcontroller MATLAB Answers — New Questions