| MATLAB Central > MATLAB Newsreader > execute a batch file in dos from MATLAB |
|
|
|
Subject: execute a batch file in dos from MATLAB From: Moon Datta Date: 23 Aug, 2012 07:34:07 Message: 1 of 5 |
|
I have a batch file namely 'test.bat', which I want to run using matlab. I have used the command " s = dos('test.bat');" . It is not working and giving error with " 'test.bat' is not recognized as an internal or external command, |
|
Subject: execute a batch file in dos from MATLAB From: Christian Date: 23 Aug, 2012 08:46:07 Message: 2 of 5 |
|
Does !test.bat work (having test.bat in your current directory)? |
|
Subject: execute a batch file in dos from MATLAB From: Moon Datta Date: 23 Aug, 2012 09:53:07 Message: 3 of 5 |
|
"Christian" wrote in message <k14qkf$9if$1@newscl01ah.mathworks.com>... |
|
Subject: execute a batch file in dos from MATLAB From: TideMan Date: 23 Aug, 2012 11:02:59 Message: 4 of 5 |
|
On Thursday, August 23, 2012 9:53:07 PM UTC+12, Moon Datta wrote: |
|
Subject: execute a batch file in dos from MATLAB From: Moon Datta Date: 23 Aug, 2012 13:28:08 Message: 5 of 5 |
|
TideMan <mulgor@gmail.com> wrote in message <2bdce9c7-2519-49a9-9b2b-cc9d3d87639d@googlegroups.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
