How to set simulink dll parameters

2 visualizzazioni (ultimi 30 giorni)
ander
ander il 15 Dic 2015
Commentato: Alexandru Matei il 11 Gen 2016
I don´t know if it is possible but I am going to ask. I have a simulink model which has differente parameters to configure the model. My idea is to generate the dll from the model and then configure the values off the dll before use model_initialize and model_step functions. Is it possible? or the values of the dll (model_B and model_P) are always static?
thank you

Risposte (1)

Varun Bhaskar
Varun Bhaskar il 17 Dic 2015
Hi,
You can tune the parameters model_P and model_B before running.
The Embedded Coder® product provides an ERT target, ert_shrlib.tlc, for generating a host-based shared library from your Simulink® model
  2 Commenti
ander
ander il 18 Dic 2015
I think that, but which is the command to set the external variable of the dll?
Alexandru Matei
Alexandru Matei il 11 Gen 2016
Hi Ander, Did you found out anything regarding that command to set external variable of dll ?
Thank you

Accedi per commentare.

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by