help-octave
[Top][All Lists]
Advanced

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

Save-load problem


From: Henry F. Mollet
Subject: Save-load problem
Date: Tue, 29 Apr 2003 10:05:24 -0700
User-agent: Microsoft-Entourage/10.1.1.2418

I've tried an introductory example in an MATLAB textbook and used Octave to
check. Saving and reloading is changing the size of A. Why and how would I
avoid this problem?
Henry

GNU Octave, version 2.1.35 (powerpc-apple-darwin6.2).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 John W. Eaton.

octave:1> A = 0:pi/16:8*pi;
octave:2> whos

*** local user variables:

prot  type                       rows   cols  name
====  ====                       ====   ====  ====
 rwd  range                         1    129  A

octave:3> save session3.mat
octave:4> clear
octave:5> whos
octave:6> load session3.mat
octave:7> whos

*** local user variables:

prot  type                       rows   cols  name
====  ====                       ====   ====  ====
 rwd  range                         1    128  A




-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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