%%============================================================================
%%Abstract:
%%Libraryfunctionssupportingthecodegenerationentryfile.
%%
%%Copyright2018TheMathWorks,Inc.
%%
%selectfile NULL_FILE
 
%if EXISTS("::_CODEGENENTRYLIB_") == 0
%assign ::_CODEGENENTRYLIB_ = 1
 
%%============================================================================
%%Abstract:
%%Returnsthecodegenerationentryfilenameforthecurrenttarget.
%%
%function SLibGetCodegenentryFileName() void
  %return CGMODEL_ACCESS("CodeGenEntryLib.getCodeGenEntryFileName")
%endfunction
 
%%============================================================================
%%Abstract:
%%Returnstrueifweexecutethemaincodegenerationphase
%%
%function SLibIsMainCodeGenPhase() void
  %return 0 == ::CompiledModel.IsPreCodeGenPhase
%endfunction
 
%%============================================================================
%%Abstract:
%%Returnstrueifweexecutetheprecodegenerationphase
%%
%function SLibIsPreCodeGenPhase() void
  %return 1 == ::CompiledModel.IsPreCodeGenPhase
%endfunction
 
%%============================================================================
%%Abstract:
%%Thisfunctionisexecutedwhenthecodegenerationprocesssucceded.
%%
%function SLibSetCodeGenSucceeded() void
  %
%endfunction
 
%endif %% _CODEGENENTRYLIB_
%%[EOF]codegenentrylib.tlc