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.

採用された回答

Walter Roberson
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 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by