필터 지우기
필터 지우기

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 CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by