%%
%%
%%
%%
%%Copyright1994-2014TheMathWorks,Inc.
%%
%%Thisfiledefinesinformationaboutthetargetcompiler/hardware.
%%ThisinformationisrequiredbySimulinkCoderinorderto
%%properlygeneratecode.
%%
%selectfile NULL_FILE
 
%%
%%Setchoiceforhavingcommentsincludedwithafunctionormacro"call"
%%
%assign FixPtIncludeCallComment = 0
 
%%
%%Setchoiceforhavingcommentsincludedwitheachblockthatdescribesany
%%parametersforexamplegivestherealworldvaluesanddatatypeinfo.
%%Theparameterscancontainmanyelementssothecommentscangethuge.
%%
%assign FixPtIncludeParameterComment = 0
 
%%
%%Hostcomputerarchitecture
%%
%%Thisisthedefaulttargetusedingeneratingthefixedpointcode.This
%%isvalidforselftargetwithgrtandert.
%%
%assign FixedPointComputer = FEVAL("eval","computer")
 
%%
%%SetcodegenerationmodeforFixedPointUtilities.Validchoicesare:
%%"macro"
%%"function"
%%
%switch FixedPointComputer
  %case "SGI64"
  %case "SGI"
  %case "ALPHA"
    %%
    %% Currently, the SGI64 and the ALPHA must use function mode. This option
    %% is not overridable from these low volume target platforms.
    %%
    %assign FixPtUtilType = "function"
    %break
  %default
    %%
    %% other platforms and targets can select either mode
    %% macro mode eliminates the overhead of functions calls
    %% which gives generated code that runs faster
    %% function mode gives code that is easier to debug
    %%
    %% code size advantages of one mode over the other depends on
    %% the model
    %%
    %if !EXISTS("FixPtUtilType")
      %assign FixPtUtilType = "macro"
    %endif
%endswitch
 
%%Wordsizesforintegerdatatypes(i.e.,long,int,short,char).Not
%%settingthesevaluescorrecltywillresultinacompiletimeerrordue
%%tobuiltinsafetychecksinthemodel_private.hheaderfile(thisis
%%agoodthing).
 
%%FollowingFEVALcallsexpectNametobetheactualmodelname
%assign IntegerSizes = FEVAL("rtwprivate", "rtwwordlengths", LibGetModelName())
 
%%definethebitsperLargestinteger
%if IntegerSizes.LongLongMode == 1
    %assign LargestIntegerNumBits = IntegerSizes.LongLongNumBits
%else
    %assign LargestIntegerNumBits = IntegerSizes.LongNumBits
%endif
   
%%Implementationspecificproperties:
%%Seetoolbox/rtw/rtwdemos/example_rtw_info_hook.mfordetails
 
%assign CTargetSpecific = FEVAL("rtwprivate", "rtw_implementation_props", ...
  LibGetModelName())