MATLAB Answers

How to use the MATLAB radio button to switch between 2 matrices

조회 수: 3(최근 30일)
Sarah Felletter
Sarah Felletter 2021년 7월 20일
답변: Jan 2021년 7월 20일
I'm working on a program where there are 2 matrices that will be used depending on which units you want, and the radio button is going to be used to switch between the matrices. I'm not sure how i would go about this and would appreciate some advice.
I used guide to create the GUI
  댓글 수: 1
Jan 2021년 7월 20일
It depends. How do you create the GUI: Guide, Code, AppDesigner? Please post, what you have tried so far.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan 2021년 7월 20일
Check the value of the radio buttons in the callback, which starts the computations. Then use the wanted matrix accordingly.
A more specific answer is possible, if you post your code and explain, where you want to calculate what.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by