I have encountered the following problems running MATLAB:
ÃÂ» version ans = 18.104.22.16869 ÃÂ» computer ans = PCWIN ÃÂ» [s,w] = dos('dir')
Warning: One or more output arguments not assigned during call to 'dos'. s = -1 ÃÂ» !dir ??? Problem running DOS command.
These problems presumably make it impossible for me to make mex files or use the C compiler and C math library with MATLAB.
I have been directed by technical support to re-install MATLAB and to turn off all other utilities such as virus checkers. I have done so yet the problem persists. Technical support has verified that everything should work correctly on my machine which is a Toshiba Tecra 720CDT but they cannot offer any further assistance. The following two paragraphs are the last that I heard from tech support:
The process of shelling out in MATLAB consists in creating a new console process, and redirecting its standard output back into MATLAB. There's nothing in the MATLAB.INI or MATLAB'S registry entries that affect this procedure. MATLAB.INI just keep information on thinks like position of the command window, background color, font. etc. MATLAB'S registry entries are only related to using MATLAB as an ActiveX automation server.
Most likely the problem in the customer's laptop is related to launching a new process, or in communicating with that process. All these tasks are handled as systems calls, and they normally fail only when the OS cannot provide the requested resource or service. Without being able to reproduce the problem, it is impossible to trace its origin.
I would sincerely appreciate any help from anybody who has any suggestions about how to diagnose and repair the problem. I have spent considerable amounts of money on MATLAB toolboxes that I cannot use because of these problems. I would hope that MathWorks would be more concerned about developing appropriate diagnostic and repair procedures rather than merely stating that they cannot reproduce the problem and implying that they are therefore no longer responsible.