run
Exécute un script ou un fichier.
📝 Syntaxe
run(script_file)
run(script_file, 'nocatch')
bsuccess = run(script_file, 'errcatch')
📥 Argument d'entrée
script_file - chaîne : chemin vers le script
'nocatch' - chaîne : option par défaut (pas de capture d'erreurs)
'errcatch' - chaîne : option pour capturer les erreurs
📤 Argument de sortie
bsuccess - un logique : vrai si aucune erreur détectée pendant l'exécution du script
📄 Description
Exécute un script ou un fichier spécifié dans l'environnement Nelson.
💡 Exemples
Creates two .m in temp directory to use as example:
run a script without error.
run a script and catch error (no error).
run a script and catch error (with error).
run a script and no catch error.
🔗 Voir aussi
🕔 Historique
Version
📄 Description
1.0.0
version initiale
Last updated
Was this helpful?