Loading GUI.m +3 −3 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ classdef GUI < handle code_block = sprintf('%s/code',getfullname(object.block_handle)); % determine if code block already exists code_blocks = find_system(getfullname(object.block_handle),'BlockType','SubSystem','Name','code'); code_blocks = find_system(getfullname(object.block_handle),'LookUnderMasks','all','BlockType','SubSystem','Name','code'); % if the code block does not already exists we need to create a % new one Loading Loading @@ -613,7 +613,7 @@ classdef GUI < handle in_handles=find_system(code_block, 'SearchDepth',1,'FindAll','On','FollowLinks','On','LookUnderMasks','All','BlockType','Inport'); for j = 1:size(in_handles,1) found = 0; inports = find_system(getfullname(object.block_handle),'BlockType','Inport'); inports = find_system(getfullname(object.block_handle),'LookUnderMasks','all','SearchDepth',1,'BlockType','Inport'); for i = 1:size(inports,1) if strcmp(get_param(inports(i),'Name'),get_param(in_handles(j),'Name')) found = 1; Loading Loading @@ -662,7 +662,7 @@ classdef GUI < handle out_handles=find_system(code_block, 'SearchDepth',1,'FindAll','On','FollowLinks','On','LookUnderMasks','All','BlockType','Outport'); for j = 1:size(out_handles,1) found = 0; outports = find_system(getfullname(object.block_handle),'BlockType','Outport'); outports = find_system(getfullname(object.block_handle),'LookUnderMasks','all','SearchDepth',1,'BlockType','Outport'); for i = 1:size(outports,1) if strcmp(get_param(outports(i),'Name'),get_param(out_handles(j),'Name')) found = 1; 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 "Tue Jul 13 12:59:32 2010" RTWModifiedTimeStamp 200926766 ModelVersionFormat "1.%<AutoIncrement:6>" LastModifiedDate "Wed Jul 14 11:27:12 2010" RTWModifiedTimeStamp 201007625 ModelVersionFormat "1.%<AutoIncrement:7>" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off Loading Loading @@ -632,7 +632,7 @@ Library { } System { Name "TableLibrary" Location [210, 243, 790, 503] Location [210, 265, 790, 525] Open on ModelBrowserVisibility off ModelBrowserWidth 200 Loading Loading @@ -662,6 +662,7 @@ Library { Opaque off RequestExecContextInheritance off MaskHideContents off MaskDescription "Table Block" MaskDisplay "port_label('input',1,'Input');\ntext(0.5,0.6,'Tabular Expression', 'horizontalAlignment', 'ce" "nter')\ncolor('red')\ntext(0.5,0.4,'Not Checked', 'horizontalAlignment', 'center')" MaskIconFrame on Loading Loading
GUI.m +3 −3 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ classdef GUI < handle code_block = sprintf('%s/code',getfullname(object.block_handle)); % determine if code block already exists code_blocks = find_system(getfullname(object.block_handle),'BlockType','SubSystem','Name','code'); code_blocks = find_system(getfullname(object.block_handle),'LookUnderMasks','all','BlockType','SubSystem','Name','code'); % if the code block does not already exists we need to create a % new one Loading Loading @@ -613,7 +613,7 @@ classdef GUI < handle in_handles=find_system(code_block, 'SearchDepth',1,'FindAll','On','FollowLinks','On','LookUnderMasks','All','BlockType','Inport'); for j = 1:size(in_handles,1) found = 0; inports = find_system(getfullname(object.block_handle),'BlockType','Inport'); inports = find_system(getfullname(object.block_handle),'LookUnderMasks','all','SearchDepth',1,'BlockType','Inport'); for i = 1:size(inports,1) if strcmp(get_param(inports(i),'Name'),get_param(in_handles(j),'Name')) found = 1; Loading Loading @@ -662,7 +662,7 @@ classdef GUI < handle out_handles=find_system(code_block, 'SearchDepth',1,'FindAll','On','FollowLinks','On','LookUnderMasks','All','BlockType','Outport'); for j = 1:size(out_handles,1) found = 0; outports = find_system(getfullname(object.block_handle),'BlockType','Outport'); outports = find_system(getfullname(object.block_handle),'LookUnderMasks','all','SearchDepth',1,'BlockType','Outport'); for i = 1:size(outports,1) if strcmp(get_param(outports(i),'Name'),get_param(out_handles(j),'Name')) found = 1; 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 "Tue Jul 13 12:59:32 2010" RTWModifiedTimeStamp 200926766 ModelVersionFormat "1.%<AutoIncrement:6>" LastModifiedDate "Wed Jul 14 11:27:12 2010" RTWModifiedTimeStamp 201007625 ModelVersionFormat "1.%<AutoIncrement:7>" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off Loading Loading @@ -632,7 +632,7 @@ Library { } System { Name "TableLibrary" Location [210, 243, 790, 503] Location [210, 265, 790, 525] Open on ModelBrowserVisibility off ModelBrowserWidth 200 Loading Loading @@ -662,6 +662,7 @@ Library { Opaque off RequestExecContextInheritance off MaskHideContents off MaskDescription "Table Block" MaskDisplay "port_label('input',1,'Input');\ntext(0.5,0.6,'Tabular Expression', 'horizontalAlignment', 'ce" "nter')\ncolor('red')\ntext(0.5,0.4,'Not Checked', 'horizontalAlignment', 'center')" MaskIconFrame on Loading