Loading GUI.m +1 −5 Original line number Diff line number Diff line Loading @@ -717,11 +717,7 @@ classdef GUI < handle % reset tooltip and colour if no error found set(grid.cells(i).cond,'TooltipString','') grid.cells(i).flag_cell(0); %if (~isempty(grid.cells(i).color)) % set(grid.cells(i).cond,'BackgroundColor',grid.cells(i).color) %else % set(grid.cells(i).cond,'BackgroundColor',[1 1 1]) %end end % recurse through subgrid Loading TTdiag.m +24 −0 Original line number Diff line number Diff line Loading @@ -44,10 +44,34 @@ switch Action, catch exception msgbox(exception.identifier) end case 'Delete' blockHandleTTTopMask = orig_gcbh; data = get_param(blockHandleTTTopMask,'UserData'); if isempty(data) return end if ~data.valid errordlg(... DAStudio.message('Block Data has been corputed'),... 'Error', 'modal') return end if data.open && ishandle(data.fig) delete(data.fig) data.fig = []; data.open = 0; set_param(blockHandleTTTopMask,'UserData',data); end otherwise, DAStudio.error('Simulink:dialog:UnknownAction',Action); end end Loading TableLibrary.mdl +5 −4 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ Library { ModifiedByFormat "%<Auto>" LastModifiedBy "colin" ModifiedDateFormat "%<Auto>" LastModifiedDate "Wed Jul 14 13:23:15 2010" RTWModifiedTimeStamp 201014591 ModelVersionFormat "1.%<AutoIncrement:10>" LastModifiedDate "Wed Jul 28 11:08:09 2010" RTWModifiedTimeStamp 202216080 ModelVersionFormat "1.%<AutoIncrement:11>" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off Loading Loading @@ -627,7 +627,7 @@ Library { } System { Name "TableLibrary" Location [210, 331, 790, 591] Location [210, 353, 790, 613] Open on ModelBrowserVisibility off ModelBrowserWidth 200 Loading Loading @@ -696,6 +696,7 @@ Library { Ports [1] Position [70, 32, 235, 98] CopyFcn "TTdiag Copy" DeleteFcn "TTdiag Delete" OpenFcn "TTdiag Open Simulink" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off Loading Loading
GUI.m +1 −5 Original line number Diff line number Diff line Loading @@ -717,11 +717,7 @@ classdef GUI < handle % reset tooltip and colour if no error found set(grid.cells(i).cond,'TooltipString','') grid.cells(i).flag_cell(0); %if (~isempty(grid.cells(i).color)) % set(grid.cells(i).cond,'BackgroundColor',grid.cells(i).color) %else % set(grid.cells(i).cond,'BackgroundColor',[1 1 1]) %end end % recurse through subgrid Loading
TTdiag.m +24 −0 Original line number Diff line number Diff line Loading @@ -44,10 +44,34 @@ switch Action, catch exception msgbox(exception.identifier) end case 'Delete' blockHandleTTTopMask = orig_gcbh; data = get_param(blockHandleTTTopMask,'UserData'); if isempty(data) return end if ~data.valid errordlg(... DAStudio.message('Block Data has been corputed'),... 'Error', 'modal') return end if data.open && ishandle(data.fig) delete(data.fig) data.fig = []; data.open = 0; set_param(blockHandleTTTopMask,'UserData',data); end otherwise, DAStudio.error('Simulink:dialog:UnknownAction',Action); end end Loading
TableLibrary.mdl +5 −4 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ Library { ModifiedByFormat "%<Auto>" LastModifiedBy "colin" ModifiedDateFormat "%<Auto>" LastModifiedDate "Wed Jul 14 13:23:15 2010" RTWModifiedTimeStamp 201014591 ModelVersionFormat "1.%<AutoIncrement:10>" LastModifiedDate "Wed Jul 28 11:08:09 2010" RTWModifiedTimeStamp 202216080 ModelVersionFormat "1.%<AutoIncrement:11>" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off Loading Loading @@ -627,7 +627,7 @@ Library { } System { Name "TableLibrary" Location [210, 331, 790, 591] Location [210, 353, 790, 613] Open on ModelBrowserVisibility off ModelBrowserWidth 200 Loading Loading @@ -696,6 +696,7 @@ Library { Ports [1] Position [70, 32, 235, 98] CopyFcn "TTdiag Copy" DeleteFcn "TTdiag Delete" OpenFcn "TTdiag Open Simulink" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off Loading