Can you let me know how to solve my errors? there are 4 errors in my simulink.
3 次查看(过去 30 天)
显示 更早的评论
Hello all,
I am making PMSM modeling with simulink.
I faced in some error with this picture.
I attached my simulink data and error message.
I would appreciate if you could suggest solution for my issue.
采纳的回答
Pat Gipper
2022-1-22
You had two issues. One was the integrators in Current_Controller were implimented using the Memory in the feedback path causing an algebraic loop. I simply moved the Memory into the forward path to remove this error message.
The second problem was an error message from the compiler about DQ_ABC/Matlab Function1. I had to correct this by specifically defining the size of the input "u" using the Ports and Data Manager. It was strange that the compiler only complained about this specific function.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!