[Top][All Lists]

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

RE: Octave for Windows?

From: gleblanc
Subject: RE: Octave for Windows?
Date: Wed, 20 Aug 2003 22:42:48 -0500

I figured it out!
A variable can not be used in an option or setting that requires a string
as the input.

The entire command has to be constructed.


Instead of
gset title (myvar)

e = num2str(.354)
myvar = ["This is the max value - ", e]
command = sprintf ("gset title \"%s\"", myvar);

This will resolve to

gset title "This is the max value - .354"

Thanks for the help.

Gregory LeBlanc


This email was sent using FREE Catholic Online Webmail.

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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