def mlist(self, node1="", node2="", ninc="", **kwargs):
    """Lists the MDOF of freedom.

    APDL Command: MLIST

    Parameters
    ----------
    node1, node2, ninc
        List master degrees of freedom from NODE1 to NODE2 (defaults
        toNODE1) in steps of NINC (defaults to 1).  If NODE1 = ALL
        (default), NODE2 and NINC are ignored and masters for all selected
        nodes [NSEL] are listed.  If NODE1 = P, graphical picking is
        enabled and all remaining command fields are ignored (valid only in
        the GUI).  A component name may also be substituted for NODE1
        (NODE2 and NINC are ignored).

    Notes
    -----
    Lists the master degrees of freedom.
    """
    command = f"MLIST,{node1},{node2},{ninc}"
    return self.run(command, **kwargs)