MCDynamics:

--------------------------------------------------------------------------
   Matrix Converter Dynamics
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x(6,1)        State Vector 
                   [i_abgi^s;
                    v_abgi^s-v_abg^s];
   d             Structure containing model parameters   
                 .omegaGE  (1,1)
                 .vref     (2,1)
                 .vsalbega (1,1)
                 .Rn       (1,1)
                 .Ln       (1,1)
                 .CI       (1,1)
                 .S        (3,3) Transformation matrix to SRF
   t(1,1)        Time (s)

   -------
   Outputs
   -------
   xdot(6,1)     State vector derivatives

--------------------------------------------------------------------------
   Reference:   Nikkhajoei et al "Dynamic Model of a Matrix Converter
                for Controller Design and System Studies", IEEE
                Transactions on Power Delivery, vol 21, no. 2, April 2006,
                pp 744-754.
--------------------------------------------------------------------------