I cant generate a square wave to control the gate of Transistor
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mohamed Sodan
el 17 de Mayo de 2023
Respondida: Sabin
el 18 de Mayo de 2023
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1386644/image.png)
0 comentarios
Respuesta aceptada
Sabin
el 18 de Mayo de 2023
From what I see the problem is in the MATLAB function blocks. The output is 1x100 but should be a scalar.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Switches and Breakers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!