help-octave
[Top][All Lists]
Advanced

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

Simple Problem with save command


From: Emily Ann Kraus
Subject: Simple Problem with save command
Date: Mon, 10 Jun 2013 16:14:02 +0000

Hi,

I am using Octave-3.6.2 on a windows 7 machine. I have a simple code that makes some calculations and a plot. I would also like to save the variables xb and xb_xrho into a file called ntranschargedist.txt (or .dat, it doesn't matter). The line: save ntranschargedist.txt xb xb_xrho; should do this right? I have also tried the form: save ("ntranschargedist.txt", "xb", "xb_xrho"); When I run the code it works fine with no errors. The plot is just as it should be. However, no file shows up anywhere. I searched all files and folders in my machine and still nothing. I have tried many other similar commands from the manual but I get the same problem, no file shows up. Does the file need to already exist in some directory when I run the code? I also noticed that save.m is missing from the directory /share/octave/3.6.2./m, I feel this may be the problem and I tried uninstalling and reinstalling but it is still missing.

Slightly frustrated octave user,
Emily

reply via email to

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