Chapter 2 C Language Reference© National Instruments Corporation 2-25 AutoCode Referenceproperly. Refer to the SystemBuild User Guide for an explanation ofrinfo. Only the first four elements of this array will be used by thegenerated procedure. This array will be passed as argument rinfo.3. Create an array sized by the number of inputs in the procedure (refer tothe comment) of type double and copy in the inputs to the procedure.This array will be passed as argument U. Also create a variable of typeint and initialize to the number of inputs in the procedure. A pointerto this variable will be passed as argument NU.4. Create an array sized by the number of outputs in the procedure (referto the comment) of type double where the outputs of the procedurewill be stored. This array will be passed as argument Y. Also createa variable of type int and initialize to the number of outputs in theprocedure. A pointer to this variable will be passed as argument NY.5. Create two arrays sized by the number of states in the procedure (referto the comment) of type double and initialize all elements to 0.0.These arrays will be passed as arguments X (states) and XD(derivatives). Also create a variable of type int and initialize to thenumber of states in the procedure. A pointer to this variable will bepassed as argument NX.6. Create two arrays sized by the number of integer and real parametersin the procedure. Refer to the comment of types int and double andinitialize all elements to 0 and 0.0, respectively. These arrays will bepassed as arguments I_P and R_P.7. Invoke the procedure using the arrays and pointers to the variablescreated in steps 1 through 6.Invoking Procedures Using Generated SubsystemFunctionWhen generating a reusable procedure from a Procedure SuperBlock, alongwith the algorithmic procedure and the (UCB-style) wrapper, a subsystemfunction (subsys_number) also is generated. You can use the subsystemfunction directly from your application to invoke the procedure, but keepin mind that this function is not re-entrant, as several variables in thisfunction are declared static to avoid the overhead of copy in and out of thevariables.All of the following arguments need to be passed for each call to theprocedure in the following order: U, Y. These arguments are pointers tostructures reflecting the procedure’s inputs and outputs. The inputs to thesubsystem are provided by the argument U, a pointer to a structure named_Subsys_number_in (or _Sys_ExtIn). This structure has mixed