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

TAB
TAB 2012년 1월 2일
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"

답변 (0개)

이 질문은 마감되었습니다.

질문:

2012년 1월 2일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by