function handle to matlab system / function file using code
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
rupprechtt
le 17 Sep 2019
Réponse apportée : rupprechtt
le 17 Sep 2019
Hi all,
I want to use a Matlab System or Matlab Function block in Simulink with one single equation.
After some calculations during simulink init, I obtain a function handle T = @(phi,phi_d,phi_dd). I now want to "copy" this function 'automatically' (i.e. using code) to the Matlab System file.
I realy need the automated soultion, but I have no idea how to change or generate m-files using code.
thanks for your help!
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!