Hello,
With this new version of Scilab all packages (not only of “noarch” type i.e. only based on Scilab functions) appear as available in Atoms GUI and are compiled on-the-fly at install time. However it does not ensure that the compilation will be successfull, and even if this is the case that the package will work, particularly if it has been authored with a version of Scilab prior to 6.x family.
Packages with compiled gateways need a compiler on your system and the above method can fail (or succeed). Failing packages will have to be recompiled, either by the Scilab team or by the authors.
Hence, if you encounter problems or have complete success with a given package please report it in this category.
Here is a growing list of working and tested packages (if no platform is specified then package works on Linux, macOS and Windows):
ANN_Toolbox
apifun
CMA-ES
diffcode
distfun
FACT
fmincon
guibuilder
helptbx
IPCV (Windows)
linalg
makematrix
mingw (Windows)
specfun
sci_ipopt
scicolpack
scicv
scidoe
stixbox
wgserialxcosio (Windows, macOS)
xcos_code_generator
xlreadwrite
S.
sudoku
is working fine on my machine (this package was not available in 6.1)
Great. Yes, many packages were not available and needed just a recompilation. The new automatic system reveals them. However, sudoku compiles and load but solve examples fail:
--> sudoku_solve(X)
at line 4 of function apifun_typehypermat ( /Users/mottelet/Desktop/scilab-2023.0.0.app/Contents/share/scilab/contrib/sudoku/0.1.1/macros/sudoku_findnakedsubset.sci line 423 )
at line 116 of function sudoku_findnakedsubset ( /Users/mottelet/Desktop/scilab-2023.0.0.app/Contents/share/scilab/contrib/sudoku/0.1.1/macros/sudoku_findnakedsubset.sci line 124 )
at line 246 of function sudoku_solvebylogic ( /Users/mottelet/Desktop/scilab-2023.0.0.app/Contents/share/scilab/contrib/sudoku/0.1.1/macros/sudoku_solvebylogic.sci line 254 )
at line 173 of function sudoku_solve ( /Users/mottelet/Desktop/scilab-2023.0.0.app/Contents/share/scilab/contrib/sudoku/0.1.1/macros/sudoku_solve.sci line 181 )
apifun_typehypermat: Expected hypermat variable for variable C at input #2, but got boolean instead.
S.
I agree that this package needs to be updated and probably have a CI running its tests against new Scilab version.
I tried installing Xcos Code Generator and it says install failed. Any idea if/when support for code generation will be present for xcos?
Hello,
The toolbox has been recompiled for the current version of Scilab. You can install it after refreshing the list of available packages:
atomSystemUpdate
atomsInstall xcos_code_generator
S.
Seems to get stuck at “Compiling Model” now. Any chance you could test a model code generation example and see if it’s just my install?