Info

This question is closed. Reopen it to edit or answer.

closed loop variable in Embedded matlab function

1 view (last 30 days)
prakash
prakash on 2 Jan 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
TAB
TAB on 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"

Answers (0)

Community Treasure Hunt

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

Start Hunting!