M-file s-function and c-file s-function outputs don't match. Why?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have a Simulink model that generates a square wave and passes it through two different s-functions and then plots the outputs. One s-function uses a m-file while the other s-function uses an equivlanet c code (turned into a mex file). Why are the outputs not the same? Is that normal?
Accepted Answer
More Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!