Thread Subject: how to run external programs in the background

Subject: how to run external programs in the background

From: Jose

Date: 12 Nov, 2009 17:06:02

Message: 1 of 1

Hello,

I have to run an external program from Matlab,
The way I have to do it is to run a batch file from matlab, and this .bat file runs some executables:

  - in Matlab I wroke: !RUN.Bat

  -And in the batch file I have something like:
@echo off
start/w executable1 outputname1.wri inputname1.txt
start/w executable2 outputname2.wri outputname1.txt
@echo on
( it is just to run executables one by one, after the previous executable has finished)

The program run fine, but the problem is that it has to be run so many times changing inputs and it opens always a window showing when executables are running.

How can I run this process in the background, in order to keep this window closed or minimized?
Any idea will be useful!

Thank you very much for your help.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

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.

rssFeed for this Thread

Contact us at files@mathworks.com