I am getting the error Port Widths and Dimensions.

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)

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.

Tags

Asked:

on 26 Mar 2018

Answered:

on 15 Mar 2023

Community Treasure Hunt

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

Start Hunting!