I cant generate a square wave to control the gate of Transistor
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Switches and Breakers 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!