[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab to Octave
From: |
Muthiah Annamalai |
Subject: |
Re: Matlab to Octave |
Date: |
Mon, 19 Nov 2007 17:29:18 -0600 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
address@hidden wrote:
I am trying to change some matlab scripts into octave, but keep
getting undefined error in line x col y (it changes). Additionally the
script requires user input, in Matlab it is setp as a GUI, I know this
is not yet available for Octave. How do I run a script in this manner
, for example the script is called Run, there are 6 variables the user
needs to input. At the prompt do I just type Run (1,2,3,4,5,6)? I can
send the script if someone needs additional detail. The program is
already freely distributed for Matlab and would like to make it
available for Octave.
Thanks
------------------------------------------------------------------------
Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
------------------------------------------------------------------------
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave
You can use the function 'input'. See 'help input' for more details.
[x,y,z]=input('Enter parameters x,y,z')
% user would type ' 1 2 3'. User must format matrices if required as input.
Also if you want users to select from a menu of options, use 'menu'