Run particular cell section from command line in Matlab?

前端 未结 3 1354
悲&欢浪女
悲&欢浪女 2021-01-13 03:32

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

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-13 04:06

    In order to run a particular section from a file using command line, you can use

    echodemo(filename, index of section)
    

    MATLAB documentation

提交回复
热议问题