hi, i want to generate a signal from simulink that activate a m-file code. how can i do that?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi, i want to generate a signal from simulink that activate a m-file code. how can i do that? my m-file is ok and run by itself.but iwant to run itself when i run my simulink model. can you help me?
0 commentaires
Réponses (1)
Ameer Hamza
le 9 Août 2018
You can use MATLAB function block to use MATLAB code in Simulink. MATLAB does not support code generation for all the functions so you might need to use coder.externsic() to compile the Simulink model.
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Functions 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!