(
Jump to the original submission)
Tue 07 Apr 2015 04:45:02 PM UTC, comment #6:
Many thanks John, it works as expected now.
|
Tue 07 Apr 2015 04:15:06 PM UTC, comment #5:
Pushed http://hg.savannah.gnu.org/hgweb/octave/rev/76c72314d905
|
Tue 07 Apr 2015 07:07:42 AM UTC, comment #4:
It is indeed a 2x1 string at first but if you edit the content of the uicontrol (or just type enter to validate it), it returns a string, e.g. I get this if I replace 'a|b' with 'c<ENTER>d'
|
Tue 07 Apr 2015 02:41:17 AM UTC, comment #3:
it looks like get(H,'String') returns a 2x1 cell, so it is just not displaying the same as matlab does
|
Mon 06 Apr 2015 10:04:12 PM UTC, comment #2:
My main issue is actually with an 'edit' uicontrol:
i.e. a multiline text edit is returned as a pipe-separated string instead of a cell array.
|
Mon 06 Apr 2015 08:52:42 PM UTC, comment #1:
Related in matlab [1] : If you specify a cell array for a check box, push button, radio button, or toggle button, then MATLAB displays only the first element in the cell array.
Currently octave will display a | b for the button etc as well.
[1] http://www.mathworks.com/help/matlab/ref/uicontrol-properties.html
|
Mon 06 Apr 2015 06:07:01 PM UTC, original submission:
Octave displays:
a|b
while MATLAB displays:
a
b
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 5 latest changes.