scilab
principal script para executar o Scilab e ferramentas de miscelânea
Sqeüência de Chamamento
scilab <Options>
Parâmetros
- -args Arguments
Se esta opção estiver presente, os argumentos são passados ao Scilab. Eles podem ser recebidos pela função sciargs. para passagem de múltiplos argumentos use, seqüências de palavras separadas por espaços entre aspas simples:
scilab -args 'foo1 foo2'
- -display Display
Para uso apenas em sistemas Xwindow para ajustar um display de servidor X. O display padrão é unix:0.0
-display
pode ser abreviado por-d
- -debug
Inicia o Scilab no debugger gdb (apenas para Unix/Linux/Mac OS X).
- -e Instrução
Se esta opção estiver presente, então a instrução Scilab
Instrução
é executada primeiro (logo após a execução do arquivo de inicialização) no Scilab. As opções-e
e-f
são mutuamente exclusivas- -f arquivo
Se esta opção estiver presente, então o script Scilab
arquivo
é executado primeiro (logo após a execução do arquivo de inicialização) no Scilab. As opções-e
e-f
são mutuamente exclusivas.- -quit
This option forces scilab to always exit after the instruction(s) passed with the
-e
option, or the script referred to by the-f
option, have been executed, even in case of a runtime error. This option should always be used in batch mode. It is ignored if neither-e
nor-f
options are present.- -l idioma
Se esta opção estiver presente, ela fica o idioma do usuário. Os possíveis valores para
idioma
são'fr'
para francês,'en'
para inglês e 'br' para português brasileiro. O idioma padrão é inglês. O valor padrão é fixado no arquivoscilab.start
.- -nb
Se esta opção está presente, então o cartão de boas-vindas não é impresso.
- -ns
Se esta opção está presente, o arquivo de inicialização
SCI/etc/scilab.start
e os arquivos de inicialização do usuárioSCIHOME/.scilab
,SCIHOME/scilab.ini
não são executados.- -nouserstartup
Se esta opção estiver presente, os arquivos de inicialização do usuário
SCIHOME/.scilab
,SCIHOME/scilab.ini
não são executados.- -nw
Se esta opção estiver presente, então o Scilab não é executado em uma janela específica.
- -nwni / -nogui
Se esta opção estiver presente, então o Scilab não é executado em uma janela específica e não aceita interação do usuário. Esta opção pode ser utilizada com as opções -f ou -e .
- --texmacs
Esta opção é reservada para TexMacs.
- -version
Esta opção imprime a versão do produto e sai.
Description of environment variables
- SCIVERBOSE
If this variable is present, Scilab startup script will show a startup debug information. Mainly used for bug report and debugging purposes.
- JAVA_HOME
Specify which Java to use. For example,
JAVA_HOME=/usr/lib/jvm/java-7-openjdk/ scilab
will start Scilab with Java 7.- SCI_DISABLE_TK
Disable Tk (but not Tcl) features.
- SCI_JAVA_ENABLE_HEADLESS
Enable Java Headless VM (i.e. without GUI features).
Java Virtual Machine options
Starting from Scilab 5.0, the graphical user interface (GUI) and the build documentation are based on Java features. In some cases, it can be important to edit the JVM options (Java Virtual Machine).
These options are available in the jvm_options.xml file.
In version 5.0.X and 5.1.X, this file is stored as SCI/modules/jvm/etc/jvm_options.xml.
In version >= 5.2.0, the file is available in etc/jvm_options.xml.
By default, the three following options are easily accessible in the configuration file:
- -XmxXXXm
This option set the amount of memory available by the Java Virtual Machine. By default, 256M are allocated. If you change this value, check that the value does not exceed the memory available on the system.
Since Scilab 5.4.0, this value can be changed in the preferences menu.
- -Djava.compiler=JIT
This option with the argument JIT enables the Java Just In Time compiler. It is activated by default. NONE disables the JIT and decreases dramatically performances.
- -verbose:jni / -Xcheck:jni
These options enable more checks and output from the JNI calls. These options are useful in case of debugging and are disabled by default since they decreases performances.
Many more options are available. They can improve the performances, change look and feel, change memory managements... See: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html.
Exemplos
# Let's start Scilab in profiling mode without attaching a gdb once a SIGSEGV is met. # We are under Bash shell export SCILAB_VALGRIND_OPT="--db-attach=no --log-file=myfile.txt" scilab -profiling # Let's start Scilab in debug mode without stopping after each SIGSEGV # First, we write a small command file echo "handle SIGSEGV nostop" &> debug.txt # Now set the custom option # We are under Bash shell export SCILAB_GDB_OPT="--command=debug.txt" # Start Scilab in debug mode scilab -debug
Histórico
Versão | Descrição |
5.4.0 | -noatomsautoload added. |
5.4.1 | scinotes and xcos individual scripts introduced. See SEP #87. |
6.0.0 | -quit option added. -mem option removed. |
Comments
Add a comment:
Please login to comment this page.