Commit 0ab3e935 authored by jayd1860's avatar jayd1860
Browse files

v1.66.0

-- Sync with DataTree: Fix LoadRunPlotExample1.m example not finding included default data set that it uses to do the demo.

-- Fix checkToolboxes.m once in a while malfunctioning because of unpredictable matlab.ui.Figure/set behavior when toolbox isn't
found and checkToolboxes.m tries to call menu to report on it but runs into this weird error:

    Error setting property 'Position' of class 'Figure':
    Width and height must be greater than or equal to 0

Calling MenuBox instead seems to get around the issue.
parent ab399223
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ function LoadRunPlotExample(dataSetDir)
% Parse arguments
% Parse arguments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if ~exist('dataSetDir','var')
if ~exist('dataSetDir','var')
    f = which('LoadRunPlotExample');
    f = which('LoadRunPlotExample1');
    dataSetDir = [fileparts(f), '/Example4_twNI']; 
    dataSetDir = [fileparts(f), '/Example4_twNI']; 
end
end


+1 −1
Original line number Original line Diff line number Diff line
@@ -183,7 +183,7 @@ if ~isempty(missing)
        end
        end
    end    
    end    
    msg = [msg1, msg2, msg3, msg4, msg5];
    msg = [msg1, msg2, msg3, msg4, msg5];
    menu(msg, 'OK');
    MenuBox(msg, 'OK');
    r = false;
    r = false;
end
end
+1 −1
Original line number Original line Diff line number Diff line
1.65.1
1.66.0