function s = importPhase(file, name) % IMPORTPHASE Import a phase from a CTI file % s = importPhase(file, name) % See :ref:`sec-phases`. % % See also: :mat:func:`Solution` % % :param file: % CTI file containing phase definition % :param name: % Name of the phase % :return: % Instance of class :mat:func:`Solution` % if nargin == 1 s = Solution(file); elseif nargin == 2 s = Solution(file, name); end