4. System controls
MATLAB includes a number of commands that are equivalent to system commands. Under Windows, for example, you can use delete, type, dir, etc. As MATLAB is multi-platform, some Unix commands are also accepted under Windows, e.g. pwd, what, ls, etc.
To execute any system command, it must be preceded by an exclamation mark! (figure 15 ).
The same applies to launching an executable (.exe file) from a MATLAB command line.
Other methods can be used to call a system command (figure 16 ):
– Windows :
...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Mathematics
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
System controls
Bibliography
- - L'ensemble des titres d'ouvrages consacrés à MATLAB est accessible sur le site de l'éditeur du logiciel : http://www.mathworks.com/support/books
- - Les titres donnés ici ne sont qu'un...
Websites
-
Tutorials and information
-
In English
The MathWorks http://www.mathworks.com/products
University of Utah, Mathematics Department http://www.math.utah.edu/lab/ms/matlab/matlab.html
...
-
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference