%selectfile NULL_FILE
%if EXISTS("_ERT_MDLREF_CONTINUOUS_") == 0
%assign _ERT_MDLREF_CONTINUOUS_ = 1
%function FcnModelRefCreateAndInitializeSolverData() void
%assert IsModelReferenceTarget()
%assert LibIsContinuous(0)
%openfile contBuffer
/* Set the Timing fields to the appropriate data in the RTWSolverInfo */
%<RTMSet("SimTimeStepPointer", "%<RTMSolverGet("SimTimeStepPtr")>")>;
%if RTMStepSizeForTIDIsReqFcn(0)
%<RTMSet("StepSize0", "%<RTMSolverGet("StepSize")>")>;
%endif
%if RTMStepSizeIsReqFcn()
%assert !SLibUsingTimingServices()
%<RTMSet("StepSize", FundamentalStepSize)>;
%endif
%closefile contBuffer
%return contBuffer
%endfunction
%endif