![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/296443/image.png)
Predictive Control Simulation – Three-Phase Inverter 2 level
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
belal hariz
am 20 Mai 2020
Bearbeitet: belal hariz
am 21 Mai 2020
I have a problem inside matlab function
0 Kommentare
Akzeptierte Antwort
Joel Van Sickel
am 21 Mai 2020
Bearbeitet: Joel Van Sickel
am 21 Mai 2020
Hello Belal,
there are 2 main problesm I see. First, you were using a 3 level inverter, which requires 12 control signals while you were only generating 6. So the 3 level converter needs to be changed to a 2 level converter (or you need to change how you generate the control signals to provide 12). That will fix your port dimensions error. The next issue is that the you will need to convert your values to boolean so that everything is the same data type going into the mux (see image below). Alternatively, you could have your interpreted Matlab Fcn define it's outputs as booleans, right now they are treated as double.
The 2 level converter is the 'universal bridge' block with IGBT's selected.
Regards,
Joel
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/296443/image.png)
1 Kommentar
Weitere Antworten (0)
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!