[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error when using aload
From: |
Jean-Michel besnard |
Subject: |
Re: Error when using aload |
Date: |
Tue, 8 Jun 2004 00:01:28 -0700 |
User-agent: |
Mutt/1.3.28i |
Hi
Actually what I meant to do what loading a file (ASCII text) in variable.
It seems that 'aload' is not the proper function for that purpose, what should
I then be using instead ?
Thanks,
Jean-Michel
On Mon, Jun 07, 2004 at 10:02:33AM -0500, Dirk Eddelbuettel wrote:
> On Mon, Jun 07, 2004 at 07:27:36AM -0700, Jean-Michel besnard wrote:
> > Hi,
> >
> > I am trying to load a dummy ASCII text file using aload.
> > Here is the output I am getting:
> >
> > --START-----------------------------------------------------------------------
> > (04:24 PM)(address@hidden)(~)$octave
> > GNU Octave, version 2.1.55 (i386-pc-linux-gnu).
> > Copyright (C) 2004 John W. Eaton.
> > This is free software; see the source code for copying conditions.
> > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
> > FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
> >
> > Please contribute if you find this software useful.
> > For more information, visit http://www.octave.org/help-wanted.html
> >
> > Report bugs to <address@hidden> (but first, please read
> > http://www.octave.org/bugs.html to learn how to write a helpful report).
> >
> > octave:1> aload("/tmp/foo")
> > error: load: failed to load matrix constant
> > error: load: reading file /tmp/oct-COqQd8
> > error: called from `aload' in file
> > `/usr/share/octave/site/m/octave-ci/filefun/aload.m'
> >
> > --STOP------------------------------------------------------------------------
> >
> > I have tried the same on another machine running octave 2.0.17 and get the
> > same
> > error.
>
> Did you look at the file? Is it in the required format?
>
> Try creating a simple matrix inside Octave, write it with asave and the try
> aload.
>
> Dirk
>
> --
> FEATURE: VW Beetle license plate in California
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------