MATLAB POLYSPACE 7 Guide d'installation Page 41

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 618
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 40
Other Startup Topics
Other Startup Topics
In this section...
“Error Log Reporter” on page 1-21
“Passing Perl Variables on Startup” on page 1-21
“Startup an d Calling Java from MATLAB” on p a ge 1-22
Error Log Reporter
Upon startup, if MATLAB detects an error log generated by a serious problem
encountered during the previous session, an Error Log Reporte r prom pts
you to e-mail the log to The MathWorks for analysis. Click Send Report
to e-mail the log, or click Help for more information. After sending the
log, a confirmation message appears in the Command Window. For more
information, see “Abnormal Termination” on page 1-24.
Passing Perl Variables on Startup
Yo u can pass Perl variables to MATLAB on startup by using the -r option of
the
matlab function. For example, assume a MATLAB function test that
takes one input variable:
function test(x)
To start MATLAB w ith the function test,usethecommand
matlab -r "test(10)"
On some platforms, you might need to use double quotation marks:
matlab -r "test(10)"
This command starts MATLAB and runs test with the input argument 10.
To pass a Perl variable instead of a constant as the input parameter, follow
these steps.
1 Create a Perl script such as
1-21
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 617 618

Commentaires sur ces manuels

Pas de commentaire