I am getting the error Port Widths and Dimensions.

3 Ansichten (letzte 30 Tage)
Joseph Rinaldi
Joseph Rinaldi am 26 Mär. 2018
Beantwortet: Sabin am 15 Mär. 2023
I am trying to create a 5 Level MMC. There is a Ports and Widths Dimension Error on SM1. Any help would be appreciated.

Antworten (1)

Sabin am 15 Mär. 2023
SMx subsystems are expecting control input to be a vector of 2 elements but the implementation is giving a signal of dimension 1. Either change the control so that g1, g2,... are two elements or change the implementation of SMx subsystems to accept a single gate signal and then compute the second based on that.


Find more on Electrical Block Libraries in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by