I have the following Mathematica notebook on this link notebook
I was told that the binary wolframscript couldn't understand some complex functions of Mathematica.
First, I would you like to convert this notebook file to .wls
format and be able to run it directly on terminal.
Is it possible that wolframscript execute the converted notebook, even if this latter uses complex functions like DSolve
or other functions that doesn't exist natively in Wolfram script language ?
wolframscript
and evaluate any WL expression that does not involve specific front-end functionality.DSolve
will work fine. $\endgroup$.wls
, I have all the command lines commented, I don't understand why. If you could indicate me how to convert the notebook to a working.wls
file, this would be fine. Regards $\endgroup$Initialization
cells are saved without comments in.wls
or.m
,.wl
. Select all the input cells you want to save then Ctrl+8 on a Mac or from the menu Cell / Cell Properties / Initialization Cell. $\endgroup$NotebookFind[EvaluationNotebook[], "Input", All, CellStyle]
. That will select allInput
cells, then Ctrl+8 to set them all toInitialization
cells. $\endgroup$