Author Topic: Can Matlab direct the Windows command line?  (Read 1058 times)

Offline Khiya

  • Newbie
  • *
  • Posts: 1
    • View Profile
Can Matlab direct the Windows command line?
« on: June 08, 2009, 10:23:49 PM »
Hello, I'm trying to figure out if Matlab has a capability of connecting with the Windows(XP) command line so as to run various other windows platform software through Matlab. I don't want to start Matlab from the Windows command line, I want to use the Windows command line from a Matlab script. Ideally, I'd like to write a Matlab script that uses the Windows command line to run a .grib2 file through a GRIB decoder to create a text file from the data, then import that text file into Matlab to run some data analysis on it. I can do each of these steps individually, but I wanted to try to call the GRIB decoder from the Windows command line through Matlab. If anyone knows how to do this, I'd love to know!
Thanks a lot,
-Khiya

Offline Khiya

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Can Matlab direct the Windows command line?
« Reply #1 on: June 10, 2009, 04:31:02 PM »
Found it! The DOS command takes care of it all. Thanks everyone :)

Matlab and SimuLink Development Forum

Re: Can Matlab direct the Windows command line?
« Reply #1 on: June 10, 2009, 04:31:02 PM »