How do i write a gui with sub guis?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Our class has a project. There are 3 tanks holding 3 different liquids. There needs to be a gui so that a user can select the size of their cup(there are 4 different sizes), then select what percentage of each liquid they want in their cup. If there is no cup detected then something needs to display an error. And if the percentages don't add up to 100% than an error needs to be displayed.
I'm new to making guis, so i have no idea how to do this.
0 comentarios
Respuestas (1)
Image Analyst
el 30 de Mzo. de 2016
Here's a nice GUI framework what will work for you: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
It has radio buttons for the 4 cups, scrollbars/sliders to select the amount of liquid, and a pushbutton that you can start off your simulation with. Just delete the controls you don't want/need, and add more of those you do, like 4 radio buttons instead of 3, and you should be ready to go.
0 comentarios
Ver también
Categorías
Más información sobre Naming Conventions 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!