(adsbygoogle = window.adsbygoogle || []).push({}); Matlab GUI: putting several "edit text" inputs in one matrix

Hi,

I'm making a Matlab GUI that will ultimately send data to a robot. I have about 60 numbers being 6 polynomials of 10 terms. My "edit text"-boxes are currently named motG_RN_0 where the R can also be an S or a T and the N can also be a D. The number ranges from 0 to 9.

I would like my 60 values to be stored in a 6x10 matrix. That would be the easiest way to tranfer them between the different pages of my GUI and to store them.

I tried writing 6 for-loops (one for each row of the matrix) and make the number in the name change automatically but that didn't work. I tried using the eval-function but that didn't seem to work in combination with <<get(handles.motG_RN_x,'String')>>.

The most practical would be if I could directly link each box with an entry in the matrix. That way I could also easily load a matrix and display it in the boxes. Tagging the boxes as e.g. A(1) is not accepted and I'm out of ideas on how it could possibly work.

Does anyone know how to solve this problem?

best regards

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab GUI: putting several edit text inputs in one matrix

Loading...

Similar Threads - Matlab putting several | Date |
---|---|

Matlab Coding angular spectrum of waves in a fluid | Thursday at 7:30 AM |

How to program this in Matlab | Feb 28, 2018 |

Matlab Making a short test for self-adjointness | Feb 23, 2018 |

Putting Excel graph into LaTeX | Feb 10, 2018 |

**Physics Forums - The Fusion of Science and Community**