Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

call function from Matlab Simulink to M File ?

1 vue (au cours des 30 derniers jours)
Romany George
Romany George le 1 Fév 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
Please,help me i have a Matlab Simulink Model which it`s output is Error .This output (error) I have to minimize it( USING GENETIC ALGORITHM ) by controlling three variables(Kp& ki& Kd) which included in the output.Due to this variables I can`t scope the output,and call this output in an M File
Can any one help me please to call this output in an M File. Thank

Réponses (1)

Walter Roberson
Walter Roberson le 1 Fév 2017
You can use a MATLAB Function Block in which the three variables are signals that are input. Or in which the three variables are defined as output signals.

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by