I created an S-Function using S-Function Builder to read the COM port and my simulation runs correctly. However, if I compile this S-Function into a new S-Function using RTW, the simulation crashes.
MATLAB: Does simulating the model containing a compiled S-Function result in unexpected behavior in Simulink 7.3 (R2009a)
acceleratorsimulink
Related Question
- S function execution based on Simulation and RTW build
- Can I use the MEX-file generated by the EMLMEX command in an S-function in Simulink 7.4 (R2009b)
- What do you mean by “Inlining s-function”
- Calling mex function from within Simulink
- Convert a MEX-function to an S-function
- Do I receive an error when using the serial communication blocks for xPC Target 2.6.1 (R14SP1) with Model Reference
- How to generate C++ code from an S-Function?? using RTWEC?
Best Answer