[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
argv() problem with Octave 2.1.14
From: |
Klaus Gebhardt |
Subject: |
argv() problem with Octave 2.1.14 |
Date: |
Sun, 25 Jul 1999 07:20:00 -0400 |
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
> However, I have a new problem with argv().
>
> I created test.m file that has a line:
>
> datafile = sprintf ("%s", argv(1,:))
>
> and run "octave.exe test.m foo".
In Octave 2.1.14 the variable 'argv' is a list. To access the the elements
in the list you must use the function 'nth'. So the above line must be
changed:
datafile = sprintf ("%s", nth (argv, 1))
> This weekend I reinstalled Octave 2.1.14 and recompiled my .oct
> files with emx 0.9c. It appeared that I had the previous problem
> because I didn't recompiled my .oct files with new oct libs.
> My .oct files work well with Octave 2.1.14 now.
Glad to hear it.
Thanks, Klaus Gebhardt
-----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: cp850 Comment:
Requires PGP version 2.6 or later.
iQEVAwUBN5qCSQSFvUzSNwOBAQG0BwgAwgxttMxXyUuYfe2Ep3CZgR+p9EERMIHy
LDkEpgBkezDF/alIDepZNjUnvMPQGK+/w/mFDx7g7T9HO8Uda9YDGbyJq/9eJA+C
8naU6bRZbLpQY+1CDEO4gmVKY5Kfpc4jspFQenP2KZjtXA/gAu7mIT5Ph7hcYMqf
DxgQx/JWX4KILV7ppJStdxc9AYxUs88UJpjzfXfXPyq/doT/ticGD54yCI2KOVeS
e0rcR+W9/YdG4Y/Jhq13pohxy8RvXUZtRRT2MEP6o5GP3jhnVezWfxTz9fFCguf4
QxaS76A5vp/zP84WzWgBbRut2qRhOdp2mEYremwu9E01pktVSKkV2Q== =OpYm -----END PGP
SIGNATURE-----
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------