When I execute the commands
cd D:\Applications\Matlab71\toolbox\matlab\matfun Directory = dir('*.m');num = 22;[CellArray{1:num}] = eval( 'deal(Directory(1:num).name)' );
I receive the following message if "num" is greater than 20:
??? Error using ==> eval Too many output arguments.
Best Answer