Can GUI show a circuit drawing based on the user input?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a generalized circuit for a voltage level converter with only two things that is variables, number of capacitors and number of switches and how they are connected to make this converter operational based on the user voltage gain input. Can I use the GUI in matlab to take the voltage gain needed from the user, and then it shows the circuit drawing? note: the voltage gain determines the number of capacitors and switches and how they are connected (( I did this part by a code already))
0 comentarios
Respuestas (2)
Walter Roberson
el 25 de Sept. de 2016
Yes. You will probably want to use rectangle(), which is also useful for drawing ovals and circles, and annotation() which is useful for drawing arrows, and line() for drawing lines.
0 comentarios
Image Analyst
el 25 de Sept. de 2016
To "take the voltage gain needed from the user" I'd use inputdlg().
When you're ready to "shows the circuit drawing", I'd use imshow().
0 comentarios
Ver también
Categorías
Más información sobre Circuits and Systems 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!