Skip to content

Commit

Permalink
Merge pull request #3 from McSCert/subsystem-in-simfcn
Browse files Browse the repository at this point in the history
Changed the conditional logic for 'Convert Subsystem' in context menu
  • Loading branch information
monikajaskolka authored Jun 24, 2020
2 parents e59dbd0 + 3d3d998 commit 809e47c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sl_customization.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ function sl_customization(cm)
schemaFcns{end+1} = @FcnCreatorSchema;
schemaFcns{end+1} = @GuidelineSchema;
schemaFcns{end+1} = @InterfaceSchema;
elseif isSubsystem(gcbs) && ~isSimulinkFcn(gcbs) && ~isempty(gcbs)
schemaFcns{end+1} = @ConvToSimFcnSchema;
elseif any(selectedFcns) && ~isempty(gcbs)
schemaFcns{end+1} = @ChangeFcnScopeSchema;
schemaFcns{end+1} = @FcnCreatorLocalSchema;
elseif isSubsystem(gcbs)
schemaFcns{end+1} = @ConvToSimFcnSchema;
end
end

Expand Down

0 comments on commit 809e47c

Please sign in to comment.