help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Running Octave script from batch file under WIN7
From
:
Magnus
Subject
:
Running Octave script from batch file under WIN7
Date
:
Sun, 25 Mar 2012 11:54:18 +0200
Hello,
I am having the following problem. What I want to do is run an Octave script from a batch file.
This is the batch file, with the batch file and the test.m file in the same folder.
C:\Octave\3.2.4_gcc-4.4.0\bin\octave-3.2.4.exe -V test.m
This works fine for me.
Now I am using an Octave script with a parameter to pass the measurement data.
It works fine from Octave like this:
D:/Octave_Test/test1 test.csv
However now I am trying to run it from the batch file like this
C:\Octave\3.2.4_gcc-4.4.0\bin\octave-3.2.4.exe -V test1.m test.csv
The Octave file looks like this:
function test1(filename)
fid=fopen(filename, "r");
...
This does not work. Actually nothing happens and I am a little confused about it.
Help would be greatly appreciated.
Thank you in advance,
Magnus
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Running Octave script from batch file under WIN7
,
Magnus
<=
Re: Running Octave script from batch file under WIN7
,
Andy Buckle
,
2012/03/26
Re: Running Octave script from batch file under WIN7
,
Jordi GutiƩrrez Hermoso
,
2012/03/26
Prev by Date:
Re: [OctDev] Suppresing figure creation
Next by Date:
PKG TISEAN
Previous by thread:
Error in time.h when adding .h and .cc files
Next by thread:
Re: Running Octave script from batch file under WIN7
Index(es):
Date
Thread