Anonymous user
Execute a system command: Difference between revisions
Added a solution for MATLAB
No edit summary |
(Added a solution for MATLAB) |
||
Line 392:
<lang make>mytarget:
cat foo | grep mytext</lang>
=={{header|MATLAB}}==
To execute system commands in MATLAB, use the "system" keyword.
Sample Usage:
<lang MATLAB>>> system('PAUSE')
Press any key to continue . . .
ans =
0
</lang>
=={{header|Modula-3}}==
|