Open GoogleCodeExporter opened 9 years ago
Hi,
I also get this error (although it's in mine supergui on line 122). Could you
please let me know what you exactly did? That would be great, thanks!
Original comment by clemens....@gmail.com
on 13 May 2015 at 10:35
You can see in <a
href=https://code.google.com/p/labstreaminglayer/source/browse/Apps/MATLAB%20Vie
wer/arg_system/private/supergui.m#109>supergui near line 109</a> there is a
cell array of size n,4 with columns for what I guess are variable_name,
expected_variable_type, possible_values, default_value. Values passed in to the
options variable are checked against this cell array using finputcheck.
The problem in recent versions of Matlab is that graphics objects handles are
no longer real numbers, so telling finputcheck to expect that fig is a real
number causes finputcheck to return a string, and that raises an error in
supergui line 122.
The solution is to modify the cell array so that it no longer checks if the
option named 'fig' is 'real'. To do this, replace the 'real' with '' so that it
no longer checks if it is a figure. The real fix would be to replace 'real'
with 'matlab.ui.Figure' but this would not be backwards compatible.
Original comment by chadwick...@gmail.com
on 14 May 2015 at 12:21
Sorry for the mess. I tried to embed html in my comment but that didn't work.
Here is a cleaner link:
https://code.google.com/p/labstreaminglayer/source/browse/Apps/MATLAB%20Viewer/a
rg_system/private/supergui.m#109
Original comment by chadwick...@gmail.com
on 14 May 2015 at 12:22
I got it now.
Thanks a lot for your help!!
Original comment by clemens....@gmail.com
on 14 May 2015 at 2:39
Original issue reported on code.google.com by
chadwick...@gmail.com
on 3 Dec 2014 at 6:47