Azzera filtri
Azzera filtri

Embedding precompiled S-functions in Simulink model

6 visualizzazioni (ultimi 30 giorni)
I have a rather large Simunlink model that can select from a variety of configuration Options, which are all currently implemented as unique S-functions. This model is supposed to be used by other people on their own computers, however every time the code is submitted after a change, it recompiles on their device even though we compiled everything before sending it. This consumes a lot of time.
Now to make this process a little faster, we would like to pre-compile the S-functions which we have embedded into the simulation. However previously working with Matlab Coder has revealed that Matlab dlls cannot be used by Matlab itself and mex files computed on one machine are not recognised on another. How can I minimise the compilation effort that users have to go through every time I make an update to the model? Can I integrate a library of already compiled S-functions into my simulation?
Due to the nature of the Simulink model, it cannot be turned into a dll in its entirety and it still requires Matlab/Simulink to initialise and run.

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by