Why am I unable to use the Basic Fitting and Data Statistics tools in a GUI that I have created using GUIDE within MATLAB?

조회 수: 8 (최근 30일)
Why am I unable to use the Basic Fitting and Data Statistics tools in a GUI that I have created using GUIDE within MATLAB?
I plot data in the axes in my GUI, and now I would like to use the Basic Fitting and Data Statistics tools on this data. In order to do this, I do the following:
1) Double-click on the gray area of my GUI in GUIDE to open the Property Inspector for my GUI
2) Change the MenuBar property to 'figure'
This should enable me to use the Basic Fitting and Data Statistics tools. However, when I run my GUI and click on the Tools menu, the Basic Fitting and Data Statistics options are grayed out.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 1월 25일
The ability to use the Basic Fitting and Data Statistics tools is not available in MATLAB when only the default set of menus is available.
To work around this limitation, you can set the HandleVisibility property of the GUI to 'on' and the MenuBar property of the GUI to 'figure'. This can be achieved by following the steps bellow:
1. Right-click on your FIG file and choose 'Open in GUIDE'
2. Choose VIEW> PROPERTY INSPECTOR
3. Change the propety 'HandleVisibility' from 'callback' to 'on'.
4. Set the property 'MenuBar' to 'figure'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by