I am getting the error Port Widths and Dimensions.

1 view (last 30 days)
I am trying to create a 5 Level MMC. There is a Ports and Widths Dimension Error on SM1. Any help would be appreciated.

Answers (1)

Sabin
Sabin on 15 Mar 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.

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!