I cant generate a square wave to control the gate of Transistor

2 views (last 30 days)
i am trying to control the mosfet using matlab function that contain square wave but this error is alwayes there: Error in port widths or dimensions. 'Output Port 1' of 'untitled/powergui/EquivalentModel1/Gates/From1' is a [1x100] matrix

Accepted Answer

Sabin
Sabin on 18 May 2023
From what I see the problem is in the MATLAB function blocks. The output is 1x100 but should be a scalar.

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!