How do I initialize three phase programmable voltage source (in simulink) using MATLAB algorithm (code written in matlab)?
显示 更早的评论
I have included a MATLAB Function block which has to take inputs from the measurement blocks in simulink model; run an algorithm to calculate desired voltage values and then pass the outputs of code back to simulink model to a three phase programmable voltage source. I am not able to implement this integration part.
回答(1 个)
Luciano Alves
2017-1-5
移动:Sabin
2022-12-21
0 个投票
It's not necessary to use the MATLAB function block. You can use the CallBacks: in your simulink model go to File-->Model Properties -->Model Properties -->CallBacks-->InitFcn (put your algorithm code here).
类别
在 帮助中心 和 File Exchange 中查找有关 Electrical Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
