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)
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?

Accepted Answer

dpb
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
PETROS MOSCHOPOULOS
PETROS MOSCHOPOULOS on 27 Apr 2015
sorry about my imprecision. Βy the file .bat are done the calculations.My inetion is to run the .bat file from matlab and take the results which are numbers in matlab(tables).
dpb
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?

Sign in to comment.

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!