How do I initialize three phase programmable voltage source (in simulink) using MATLAB algorithm (code written in matlab)?
Mostra commenti meno recenti
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.
Risposte (1)
Luciano Alves
il 5 Gen 2017
Spostato: Sabin
il 21 Dic 2022
0 voti
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).
Categorie
Scopri di più su Electrical Block Libraries in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
