PCODEALL convert m files in a directory to p files another instance of m file will also be created containing the help text of pcoded file Rezaul, 2004 indirname can be cell array of directories usages: pcodeall, converts all userfiles to [pwd '\pcodedir'] pcodeall(indirname), convert files in indirname to [pwd '\pcodedir'] pcodeall(indirname,outdirname), convert files in indirname to outdirname pcodeall '', same as pcodeall but ask for user input for outdirname pcodeall '' '' '' a=subdir;pcodeall(a,'reza'); if nargin == 3, pcodeall will also perform on pwd for a filelist, use pcode instead See also PCODET, PCODE