[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting external programmes from Octave
From: |
Andy Buckle |
Subject: |
Re: Starting external programmes from Octave |
Date: |
Mon, 22 Oct 2012 12:37:42 +0100 |
On 22 October 2012 12:14, Ossi Heinonen <address@hidden> wrote:
>
> On 22.10.2012 13:55, Doug Stewart wrote:
>
>
>
> On Mon, Oct 22, 2012 at 6:41 AM, Ossi Heinonen <address@hidden> wrote:
>>
>> Hi all
>>
>> I need to open an external program from Octave. The program that I'm
>> trying to open is a FEA software Ansys Workbech. I've done this in Matlab
>> using the dos command like this and it works just fine:
>> dos('C:/Program Files/ANSYS Inc/v140/Framework/bin/Win32/runwb2.exe')
>> When I do the same in Octave I do get Ansys started but I also get an
>> error right away and the program doesn't function properly and I can't run
>> any analyses in it. I also noticed that I couldn't start Mathcad properly
>> either whereas e.g. Matlab and Firefox started ok.
>> Any ideas how this could be fixed? I'm running Octave 3.6.1_gcc4.6.2 on
>> Win xp 32bit.
>>
>> Best regards
>> Ossi
>>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
> try
> help system
>
>
> --
> DAS
>
> https://linuxcounter.net/user/206392.html
>
> I really can't make anything new from that. system('C:/Program Files/ANSYS
> Inc/v140/Framework/bin/Win32/runwb2.exe') does exactly the same. I'm I using
> the command wrong and how should I use it?
>
> - Ossi
[status output]=system("foo.exe");
the output variable now contains stdout from foo.exe.
If it is a GUI that you are starting, you might want to use async.
system("notepad",0,"async")
--
/* andy buckle */
- Starting external programmes from Octave, Ossi Heinonen, 2012/10/22
- Re: Starting external programmes from Octave, Doug Stewart, 2012/10/22
- Re: Starting external programmes from Octave, Ossi Heinonen, 2012/10/22
- Re: Starting external programmes from Octave,
Andy Buckle <=
- Re: Starting external programmes from Octave, Ossi Heinonen, 2012/10/23
- Re: Starting external programmes from Octave, Andy Buckle, 2012/10/23
- Re: Starting external programmes from Octave, Ossi Heinonen, 2012/10/23
- Re: Starting external programmes from Octave, Andy Buckle, 2012/10/23
- Re: Starting external programmes from Octave, Ossi Heinonen, 2012/10/23
- Re: Starting external programmes from Octave, Ossi Heinonen, 2012/10/24