Azzera filtri
Azzera filtri

Problem with simulink functions

1 visualizzazione (ultimi 30 giorni)
itsik
itsik il 16 Giu 2011
hello to all
im working with simulink, and i have a question
i want to make a block of " matlab function"
and i dont know how to call to a .m file that calls another function (another .m file).
so my question is, how do i put these two .m files on the same block. (the first .m file is the code and the second one is the function that the code calls to it )
any help will be appreciated

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 16 Giu 2011
You can call the second M-Function in your first M-Function, right? Then you just need to call the first M-Function in your Simulink Fcn block.

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by