Executing the DOS command "tree" on 32-bit MATLAB on 64-bit Windows machine, gives me an error. Both the following commands below result in the same error.
status=dos('tree') status=system('tree')
The error message returned is:
'tree' is not recognized as an internal or external command, operable program or batch file.
This command however works fine with
a) 64-bit MATLAB on 64-bit machine.
b) 32-bit MATLAB on 32-bit machine
This issue is only specific to the 'tree' command. Dos commands such as dir do not exhibit this issue.
Best Answer