フィルターのクリア

Problem of .mlx Dropdown?

3 ビュー (過去 30 日間)
도연 원
도연 원 2022 年 12 月 13 日
Hi, guys. I am here for asking help.
I use .mlx, and found that very attractive, so I use them a lot. Especially with dropdown.
However for certain case, dropdown does not work properly.
For me, when creating the dropdown, I copy(Ctrl+c after clicking column) from data from variable in the workspace. and paste them to drop down list. See below image.
These works well, when data is not spaced like below;
a(1,:)="abcdefghijklmnoprstuvwxyz"
a(2,:)="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
This created 2 queries, this is okay.
However when data is spaced like this;
a(1,:)="abcdefghijkl mnoprstuvwxyz"
a(2,:)="ABCDEFGHIJK LMNOPQRSTUVWXYZ"
this makes 4 queries, when paste to dropdown.
From my guess, dropdown acknowledge the space as a linebreak...?
So anyway, what I need is to create 2 queries with spaced data.
How can I do it? I found that function which name is 'uidropdown'... but it looks like this is for dropdown for 'figure', not the .mlx code.
Thank you very much.

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by