Hello,
I am currently building an app that loads some data and plots selected signals with SDI. Is it possible to 1) Incorporate the Tools -> Data Statistics tool bar with SDI or 2) Have it as a separte window that lauches when pressed that I can configure within App Designer.
Thank you

 채택된 답변

dpb
dpb 2026년 2월 17일
편집: dpb 2026년 2월 17일
I'm not sure what is SDI, but I think the answer to base question about the Data Statistics item in the Tools menu of the traditional figure is "No"...the uifigure which App Designer uses doesn't support the 'figure' MenuBar --
>> hUIF=uifigure;
>> set(hUIF)
...
MenuBar: {'none' 'figure'}
...
>> hUIF.MenuBar='figure';
Functionality not supported with figures created with the uifigure function.
>>
While it appears that it is an allowed value, trying to bring it back fails.
It appears the tool is another small app being called but I am unable to find the actual code/function being called by the menu callback -- it may be buried inside something else or in some inscrutable internal function.
The best I can think of would be to have to build a similar functionality; it shouldn't be too awful hard, if one has the Statistics TB there is grpstats which can be used to calculate a selected set of statistics on a dataset; the grouping variable(s) can be set to the empty [] array to be a global calculation without grouping. Capturing this output and formatting a table similar to the menu tool wouldn't be terribly difficult.
As with so much else that has been left behind, I'd suggest to submit service request to Mathworks on how to restore the functionality in present release; perhaps they would let us know how it is presently implemented that could be picked up; otherwise at least get it into the enhancement list and on the ever-growing list of complaints about functionality regression.

추가 답변 (0개)

카테고리

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

제품

릴리스

R2024a

질문:

2026년 2월 16일

편집:

dpb
2026년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by