function mplayiload(fname)
%MPLAYILOAD Load and restore MPlay instrumentation set from file.
%   MPLAYILOAD(FNAME) loads an instrumentation set structure describing the
%   state of MPlay instances and opens those instances.  This file is
%   created by MPLAYISAVE.  FNAME is the name of a MAT-file.  By default,
%   FNAME='mplay.iset'
%
%   See also: MPLAYISAVE, MPLAYCLOSE, MPLAYFIND.

%   Copyright 2005-2010 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2010/08/30 02:55:12 $

% Default iset name:
if nargin<1
    fname='mplay.iset';
end

% Default iset extension:
[p,n,e]=fileparts(fname);
if isempty(e)
    fname=[fname '.iset'];
end

uiscopes.iload(fname);

% [EOF]
