Wish List - Resource ID 19507: Wish #575

<Member picture

0 Like 0 Dislike

Geoffrey Coram

bad test for existence of vecvaldir

I happened to try starting Matlab in the MDE install directory, which has a subdirectory “vecvalder”

This test: if 2 ~= exist(‘vecvalder’) && 6 ~= exist(‘vecvalder’) fprintf(2,‘df_dxlim_auto: vecvalder (needed for computing df/dx) not found – aborting’);

fails, because “exist(‘vecvalder’)” returns 7 when vecvalder is a subdirectory of the working directory!

Comments (0)

There are no comments on this item. Make a comment.