help-octave
[Top][All Lists]
Advanced

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

error when using mkstemp


From: John W. Eaton
Subject: error when using mkstemp
Date: Fri, 23 Oct 2009 21:50:57 -0400

On 23-Oct-2009, Aditya Bhagwat wrote:

| I am using octave version 3.2.3, (compiled on Ubuntu 9.04), in an 
| inferior octave process from within Emacs 23.1 (also compiled on Ubuntu 
| 9.04).
| 
| For some reason, I can't get the function 'mkstemp' working properly. 
| When I enter following command:
| 
|         [fid, name, msg] = mkstemp('outputxxxxxx', 1)
|   
| This is the error message I get:
| 
|         octave> [fid,name,msg] = mkstemp('outputxxxxxx', 1)
|         fid = -1
|         name =
|         msg = Invalid argument

The documentation for mkstemp says that the last six characters for
mkstemp must be 'XXXXXX'.

jwe


reply via email to

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