closed loop variable in Embedded matlab function

I used a variable in all my embedded matlab program which is actually a dynamic variable. (rotor position in switched reluctance motor). My motor torque always remains zero even though no error in the simulink. How to achieve closed loop variable be updated inside the embedded matlab program????

1 Kommentar

TAB
TAB am 2 Jan. 2012
Do you mean, you are using a variable in more than one 'Embedded Matlab Block' in a model?
What do you mean by "closed loop variable"

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 2 Jan. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by