How do i write a gui with sub guis?

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.

답변 (1개)

Image Analyst
Image Analyst 2016년 3월 30일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Naming Conventions에 대해 자세히 알아보기

태그

질문:

2016년 3월 30일

답변:

2016년 3월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by