IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
open_demo.m
Go to the documentation of this file.
1 function open_demo(s)
2 try
3  evalin('base', 'setup_load'); % To clean space and restore globals that may be messed up by analysis
4  evalin('base', s);
5 catch ME
6  irerrordlg(sprintf('Failed runnind demo %s: %s.\nCheck MATLAB command window for more information about the error.', s, ME.message), 'Sorry');
7  rethrow(ME);
8 end;
function open_demo(in s)
function irerrordlg(in errorstring, in dlgname)
function setup_load()