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.

Réponses (1)

Sabin
Sabin le 15 Mar 2023

0 votes

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

Community Treasure Hunt

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

Start Hunting!

Translated by