How can I enter a matrix into GUI?
Show older comments

I want to write a code which calculates Inverse matrix without using inv function..
What I want to do is to enter a matrix with pushing the push button"Enter a matrix" after typing the matrix in the left "Input matrix" box, then when I push the "Run" button, it will give an inverse matrix of it..
So How could I Enter a matrix with the push button and the editable text box..?
Answers (1)
Voss
on 26 Nov 2022
0 votes
You can use a multi-line edit box, see: https://www.mathworks.com/matlabcentral/answers/94590-how-do-i-enter-and-evaluate-multiple-lines-in-a-gui-edit-box-that-i-created-in-matlab
Or you can use a uitable, see: https://www.mathworks.com/help/matlab/ref/uitable.html
Categories
Find more on Systems Of Linear Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!