www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevproject/getEditableNoteIndices.m
function ind = getEditableNoteIndices(MP) %GETEDITABLENOTEINDICES % Copyright 2000-2015 The MathWorks, Inc. and Ford Global Technologies, Inc. usernow = getusername(initfromprefs(mbcuser)); ind = []; for n = 1:length(MP.History) if strcmp(getusername(MP.History(n).User),usernow) ind = [ind n]; end end