MATLAB: 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

!dos

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?

Best Answer

  • 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...