FAQ: Difference between revisions

Jump to navigation Jump to search
741 bytes removed ,  15 January 2013
→‎Common problems: Cleanup of problems that aren't common problems anymore
(→‎Common problems: Cleanup of problems that aren't common problems anymore)
Line 530: Line 530:
==When I try plotting from a script, why am I not seeing anything?==
==When I try plotting from a script, why am I not seeing anything?==


If you are running an Octave script that includes a plotting command, the script and Octave may terminate immediately. So the plot window does show up, but immediately closes when Octave finishes execution.
If you are running an Octave script that includes a plotting command, the script and Octave may terminate immediately. So the plot window does show up, but immediately closes when Octave finishes execution. Alternatively, if using fltk, the plot window needs a readline loop to show up (the time when Octave is sitting around doing nothing waiting for interactive input).


A common solution is to put a {{Codeline|pause}} command at the end of your script.
A common solution is to put a {{Codeline|pause}} command at the end of your script.


==How do I get sound output in Windows?==  
==How do I get sound output in Windows?==  
See http://www.octave.org/octave-lists/archive/help-octave.2003/msg01567.html for a start.
Sound output is badly broken on anything that isn't using Linux's Open Sound System. This need a rewrite so that it actually works.
 
==Why does Octave segfault when using "clear all;"?==
 
This is a known problem if you have one of the following packages loaded:
 
* ann
* database
* ftp
 
See http://www.nabble.com/Segmentation-Fault---Clear-all-td21998563.html for a discussion
 
==Octave takes a long time to find symbols.==
 
Octave uses the genpath function to recursively add directories to the list of directories searched for function files. Check the list of directories with the path command. If the path list is very long check your use of the genpath function.
 
==When plotting Octave occasionally gives me errors like <tt>gnuplot> 9 0.735604 line 26317: invalid command</tt>.==
There is a known bug in gnuplot 4.2 that can cause an off by one error while piping data to gnuplot. It has been fixed in gnuplot 4.4.
 
If you have obtained your copy of Octave from a distribution please file a bug report requesting that the fix reported in the above bug report be included.


==I cannot install a package. Octave complains about a missing mkoctfile.==
==I cannot install a package. Octave complains about a missing mkoctfile.==

Navigation menu