When i am trying to compile this model(attached below),error in port widths and dimensions shows up. Help me try to get rid of this error and run the model successfully.
1 次查看(过去 30 天)
显示 更早的评论
0 个评论
采纳的回答
Hari Desanur
2016-12-30
Click on the 'Mux blocks used to create bus signals' link in the error message and then set the setting in Configuration Parameters to 'error'.
Also view the signal dimensions by clicking on 'Display' -> 'Signals & Ports' -> 'Signal Dimensions'.
I looks like the root cause of the issues in your model is that the 'PWM Generator' input to the 'Boost Converter' subsystem has a dimension of 12 which is later passed to the 'Mosfet' block in the 'Boost Converter' subsystem.
The basic logic in your model might have some issues.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ports and Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!