Problem of .mlx Dropdown?

2 visualizaciones (últimos 30 días)
도연 원
도연 원 el 13 de Dic. de 2022
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.

Respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by