The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: DOS shell problems with MATLAB 5
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Carl Taswell

Posts: 19
Registered: 12/7/04
DOS shell problems with MATLAB 5
Posted: Jun 19, 1997 12:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have encountered the following problems running MATLAB:

» version
ans =
» computer
ans =
» [s,w] = dos('dir')

Warning: One or more output arguments not assigned during call to 'dos'.
s =
» !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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.