I am cycling through various cells in Matlab by hand in a script (let\'s call it foo.m):
%% %Code for cell 1 %% %Code for cell 2
From the
In order to run a particular section from a file using command line, you can use
echodemo(filename, index of section)
MATLAB documentation