premier essai en ligne de commande avec octave3.0.0 sous windows xp
(mais meme pb sous vista avec la version 2.9.19)
Ca marche, j'obtiens bien une sinusoïde.octave-3.0.0:1> x = [ -pi:0.01:pi ];
octave-3.0.0:2> plot( x, sin(x) )
je sauvegarde le fichier essai1.m qui contient ces mêmes commandes
soit :
puis je load ce fichierx = [ -pi:0.01:pi ];
plot( x, sin(x) )
je lance scite contenu dans tools\wscite, j'ouvre ce même fichier essai1.m puis F5octave-3.0.0:3> load C:\fichierOctave\essai1.m
error: load: C:\ficOctave\essai1.m: inconsistent number of columns near line 2
error: load: unable to extract matrix size from file `C:\fichierOctave\essai1.m'
j'obtiens :
sans graphique : une fenêtre graphique a essayé d'apparaître mais vide de tout dessin qui se ferme aussitôt ouverte.>C:\Program Files\Octave\bin\octave.exe -q "essai1.m"
- Use `pkg list' to see a list of installed packages.
- SciTE editor installed. Use `edit' to start the editor.
- MSYS shell available (C:\Program Files\Octave\msys).
- Graphics backend: jhandles.
>Exit code: 0
sous cmd.exe je lance et j'obtiens
C:\Program Files\Octave\bin>octave-3.0.0 -V c:\ficOctave\essai1.m
GNU Octave, version 3.0.0
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-msdosmsvc".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
reading commands from C:\Program Files\Octave\share\octave\site\m\startup/octave
rc ... done.
reading commands from C:\Program Files\Octave\share\octave\3.0.0\m\startup/octav
erc ... - Use `pkg list' to see a list of installed packages.
- SciTE editor installed. Use `edit' to start the editor.
- MSYS shell available (C:\Program Files\Octave\msys).
- Graphics backend: jhandles.
done.
C:\Program Files\Octave\bin>
même fenêtre pour afficher le dessin (sans dessin) qui se ferme comme avec scite
même pb si au lieu de octave-3.0.0 je lance avec octave tout court !
Que se passe-t-il ?
des pb de chemins, de config
merci de l'aide
Daniel
Partager