How to make the keyboard keys on the computer unable to be used to input the Matlab GUI calculator.
1 回表示 (過去 30 日間)
古いコメントを表示
I have made a scientific calculator in the matlab GUI, but I want the keyboard keys on the computer to not be used to input values in the calculator. Can it? if so, how or what does the syntax look like in m files? I need an answer. thank you.
1 件のコメント
Walter Roberson
2021 年 1 月 17 日
It is not really clear what the difference is between this and https://www.mathworks.com/matlabcentral/answers/718885-syntax-limits-the-input-of-digit-values-on-the-calculator-in-the-matlab-gui?s_tid=srchtitle ?
採用された回答
Walter Roberson
2021 年 1 月 17 日
- you could create one radio button for each different value that you wanted to represent
- you could create one push button for each different value that you wanted to represent
- you could create a listbox that listed each different value that you wanted to represent
- you could create one push button for each different character (digit, decimal, sign, etc.) that you wanted to be permitted, and you would use callbacks to build up the numbers
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!