Why are embedded functions created in 2012 changing to s functions when model used in 2010?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have a model that was created in Matlab 2012. I am creating a HIL system with it using dSPACE and, since I only have licenses for 2010 dSPACE, I have to used 2010 Matlab. Upone tranfering it over to 2010, the embedded functions in my model were changed to s functions. Why is this and how can I revert it back to an embedded function without just creating another one? Thank you.
Answers (1)
Kaustubha Govind
on 4 Jun 2013
0 votes
AFAIK, (Embedded) MATLAB Function blocks have always executed by generated C code from the MATLAB code in the block. This C code is interfaced to the model via an automatically generated S-function. You should see that even in your newer version of MATLAB, there is a MEX-file generated for the model containing Embedded MATLAB Function block(s).
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!