Adding a dropdown box for the variable unit BESIDE the variable

32 ビュー (過去 30 日間)
Pierre
Pierre 2026 年 2 月 11 日 23:30
コメント済み: Pierre 2026 年 2 月 12 日 0:50
Hi there,
I don't have a lot of experience with Matlab and I am loosing time doing something simple, well it should be simple.
I have a live script electronic program that needs to enter components values with their units. I'd like to use something that will look like this.
but all I can do is this
the drop down box is configure like this
1 - Can I have a dropdown box to the right of the edit field for the units ?
2 - Can the Item values be numeric values ?
Also I would like to add the Items Labels and Item values in a file and load them at the beginning of the script because I use them all the time and I don't want to type them every time.
Matlab dates back to the DOS era (my era) and it shows. It's just a patchwork of attempts to keep the language up-to-date. Ugly code, in my opinion, with some strengths it's true but...
Thank you, bye.

採用された回答

Matt J
Matt J 2026 年 2 月 12 日 0:34
Sure. For example,
  1 件のコメント
Pierre
Pierre 2026 年 2 月 12 日 0:50
If you add numeric values in the Item Values it will work as is.
I am knocking my head on my desktop now.
So simple..
I was digging in the App Designer.
Thank you.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by