フィルターのクリア

different view in uitable app designer

2 ビュー (過去 30 日間)
piero
piero 2023 年 11 月 3 日
コメント済み: piero 2023 年 11 月 6 日
to sx the variable in workspace... (T= struct2table(Sis);)
to dx the variable in appdesigner as table ( app.UITable_mincap_2.Data=Table_DataAllSystem_Struct(app.Sis);)
in both =1 but only one line is written differently
  12 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 5 日
if the data is not confidential then please store
Table_DataAllSystem_Struct(app.Sis)
into a variable, and save to a mat file and attach the mat file
piero
piero 2023 年 11 月 5 日
this is file..

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 11 月 5 日
Experimentally:
It appears that the formatting of rows in the table works on some kind of buffer system having to do with which values are currently visible (the row is scrolled into range, even if the column itself is not.)
The rule appear to be that if anywhere in the current "buffer"-full the row contains a non-integer value, that the entire buffer-full for that column may be formatted as floating point. But only if the values have absolute value less than 1000: from 1000 upwards, the individual non-integer item will be formatted in scientific notation but the integer items in the buffer-full will be formatted as integers.
This is definitely not a behaviour I would have expected.
  4 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 5 日
You could consider using convertvars . However probably varfun with compose would be a better bet: if you just string() a column then it uses odd internal rules for the conversion, whereas if you invoke compose with an anonymous function you could specify the conversion format.
piero
piero 2023 年 11 月 6 日
okkk

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by