Hi, everyone. I want to run a file .bat in matlab and take the content of this file in matlab to make graphs.How can i do it?
2 views (last 30 days)
Show older comments
Hi, everyone. I want to run a file .bat in matlab and take the content of this file in matlab to make graphs.How can i do it?
0 Comments
Accepted Answer
dpb
on 22 Apr 2015
doc dos % and/or system
NB the optional second output. There's no absolute guarantee, but there's the place to start; if the underlying program in the .bat file is well-formed, then maybe you'll get the desired output back...
4 Comments
dpb
on 27 Apr 2015
OK, makes more sense, indeed! :)
Did the result with the optional return value work in this case I gather maybe?
More Answers (0)
See Also
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!