Is it possible to run a model containing S-functions with multiple sources in rapid accelerator mode? If so, how can it be done?

I am currently trying to run a model with an S-function block which has 4 source files. After compiling the S-function to create the mexw32 file, I can successfully run the simulation in both normal and accelerator modes. However, when I try to run the simulation in rapid accelerator mode, the build process fails and the simulation is not carried out. Am I missing any pre-processing step for my S-function? I am not really very saavy in the use of S-functions. I've read about noninline and inline S-functions as well and see there may be a solution by creating a tlc file and wrapping my S-function, but again I have very little experience doing this so I do not know if it is the right path.

Catégories

En savoir plus sur Block and Blockset Authoring dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by