Can GUI show a circuit drawing based on the user input?
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))
Respuestas (2)
Walter Roberson
el 25 de Sept. de 2016
0 votos
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.
Image Analyst
el 25 de Sept. de 2016
0 votos
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().
Categorías
Más información sobre Circuits and Systems en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!