help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't load saved image


From: Andreas Weber
Subject: Re: Can't load saved image
Date: Sun, 09 Feb 2014 22:50:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

Hi Carl,

Am 05.02.2014 19:13, schrieb Carl Martin:
> I’m using version  3.6.4, and when I create an image, then save the
> workspace, then try to reload the workspace, I get a “trouble reading
> ascii file” error message, and the saved workspace fails to load, I get
> “failed to load matrix constant” and “trouble reading ascii file”
> errors, and the load fails. Here’s what I do:
> 
> X = imread(‘church.jpg’); -- ok
> Y = 21;  -- ok
> Save loadfile;  -- ok

"Save" is not a valid command, do you mean "save"

> Clear;  --ok

Same here, there is no "Clear" (starting with upper letter) but "clear".

> Load loadfile; -- load fails, vars x and y don’t exist.

Same here.

> Y – doesn’t exist
> X – doesn’t exist

If I try your example (while fixing upper letter issues) I see:

octave> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        X        1600x1200x3               5760000  uint8
        Y           1x1                          8  double

Total is 5760001 elements using 5760008 bytes

-> It works for me in octave3.8

-- Andy


reply via email to

[Prev in Thread] Current Thread [Next in Thread]