From: Ender <jr147@msstate.edu>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: running other applications
Message-ID: <ef5c942.-1@webcrossing.raydaftYaTP>
Date: Thu, 5 Jul 2007 14:15:45 -0400
Lines: 22
NNTP-Posting-Host: 128.158.209.36
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:417425



I trying to run another program through MatLab. I have an example of
how to do this, but whenever I tried running the line of code that I
wrote, but I keep getting the an error.

This is the example code:
/input,start80,NASTRAN,'C:\Program Files\Ansys
Inc\v80\ANSYS\apdl\',,,,,,,,,,,,,,,,1

This is what I wrote:

F=input,startt80,Nastran,'C:\Program
Files\UGS\NXNastran\5.0\bin\Nastran.exe',,,,,,,,,,,,,,,,1 %The path
to run NASTRAN.exe
F

I defined the variable as F because I didn't think that Matlab would
recgonize the "/"

If there is a simpler way to run an excutable program within
Matlab...please let me know.

Reneau