%%
%%
%%
%%
%%Copyright1994-2010TheMathWorks,Inc.
%%
%%Abstract:MATLABFcnblocktargetfile.Thisiscomprisedofanexit
%%directivestatingthatthisblockisn'tsupportforcode
%%generationotherthanforAcceleratormode.
 
%implements MATLABFcn "C"
 
%%Function:BlockTypeSetup===================================================
%%Abstract:
%%Abortcodegenerationifvirtualblockisencountered
%%
%function BlockTypeSetup(block, system) void
  %%START_ASSERT
  %if !Accelerator && !(ISFIELD(system,"NoCode") && system.NoCode == "yes")
    %assign errTxt = "Not yet supported by Simulink Coder"
    %<LibBlockReportError(block, errTxt)>
  %endif
  %%END_ASSERT
%endfunction
 
 
%%Function:BlockInstanceSetup==============================================
%%Abstract:
%%Setexpressionfoldingcompliance
%%
%function BlockInstanceSetup(block, system) void
  %<LibBlockSetIsExpressionCompliant(block)>
%endfunction
 
 
%%Function:Outputs===========================================================
%%Abstract:
%%CallintoSimulinktorunblockforAccelerator
%%
%function Outputs(block, system) Output
  %if Accelerator
      /* Call into Simulink to run the Matlab Fcn block. */
      %<SLibCallBlockInSimulink(system, block, "SS_CALL_MDL_OUTPUTS")>
       
  %endif
%endfunction
 
%%[EOF]matlabfn.tlc