funcprot(0) SaveRoot=pwd() // Sauvegarde du répertoire courant Root="c:\0 - tampon" // Répertoire de travail pour le test version_numbers = getversion('scilab') if version_numbers(1) < 6 then FichierXcos=Root + "\" + "A552.zcos" else FichierXcos=Root + "\" + "A610.zcos" end chdir(Root) xcos(FichierXcos); // ouvre à l'écran le diagramme Xcos importXcosDiagram(FichierXcos) // Load the blocks library and the simulation engine //-------------------------------------------------- loadXcosLibs(); loadScicos(); //First batch simulation with the parameters embedded in the diagram //------------------------------------------------------------------- xcos_simulate(scs_m, 4);