ParseIOData:

--------------------------------------------------------------------------
   Parse the i/o data structure into inputs, outputs, states and params.
--------------------------------------------------------------------------
   Usage:
     [inputs,outputs,states,params] = ParseIOData( data, name );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   data       (.)   The i/o data structure. Can be obtained by calling a
                       wind turbine simulation model with no inputs.
   name       (:)   Name of the block (ie, blades, generator)

   -------
   Outputs
   -------
   inputs     {:}   Cell array of input names.
   outputs    {:}   Cell array of output names.
   states     {:}   Cell array of state names. Includes all variable names
                       in the "memory" field.
   params     {:}   Cell array of parameter names.

--------------------------------------------------------------------------