-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathmc.m
More file actions
28 lines (23 loc) · 766 Bytes
/
mc.m
File metadata and controls
28 lines (23 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function m = mc
%MC Starts the MC experiment GUI in a window
% See also EUI.MCONTROL.
% Part of Rigbox
% 2013-06 CB created
% Pull latest changes from remote
git.update();
% Perform some checks before instantiating
% NB: paths file check is performed by git.update
assert(file.exists(fullfile(getOr(dat.paths, 'globalConfig'), 'remote.mat')), ...
'Rigbox:mc:noRemoteFile', ['No remote file found in globalConfig repository. ',...
'Please check your paths file and setup your ''remote.mat'' file'])
f = figure('Name', 'MC',...
'MenuBar', 'none',...
'Toolbar', 'none',...
'NumberTitle', 'off',...
'Units', 'normalized',...
'OuterPosition', [0.1 0.1 0.8 0.8]);%...
h = eui.MControl(f);
if nargout > 0
m = h;
end
end