18.08.2013 Views

Scilab 2 - Robotica

Scilab 2 - Robotica

Scilab 2 - Robotica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Le stringhe I numeri interi Strutture di controllo<br />

Determinare se una variabile esiste<br />

se una variabile non è stata definita si ottiene un errore in<br />

esecuzione del seguente tipo:<br />

-->exec(’/home/toolleeo/if-elseif.sce’, -1)<br />

if (ora >= 6 & ora < 12) then<br />

!--error 4<br />

Undefined variable: ora<br />

at line 1 of exec file called by :<br />

exec(’/home/toolleeo/if-elseif.sce’, -1)<br />

Tullio Facchinetti CNeP: Introduzione a <strong>Scilab</strong> (2)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!