Hi,
I have tried to display the matrix values in edit controls the following way:
LrOut = num2str(Lr(:, :, currentPosition));
LqOut = num2str(Lq(:, :, currentPosition));
set(handles.txtLr, 'String', LrOut);
set(handles.txtLq, 'String', LqOut);
where txtLq and txtLr are edit controls:
When the code above is executed the controls disappear:
The Lq and Lr are m x n matrices where m and n are values from 1 to 8 and above so it would be useful if the values could be displayed in a scrollable edit control.
Does anyone know what could be the cause of the problem and how to modify the current code in order to display values correctly and enable scrolling when the size of text exceeds the control size?
Thank you.