How do i write a gui with sub guis?

5 views (last 30 days)
Elisa Curl
Elisa Curl on 30 Mar 2016
Answered: Image Analyst on 30 Mar 2016
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.

Answers (1)

Image Analyst
Image Analyst on 30 Mar 2016
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!