Hi Mike,
Yes, that was my mistake. Sorry for it. Thanks a lot, János
János:
It looks like you have 2 "]" but only 1 "[" in your Export statement.
Export["MagneticField",lvpiH],"PNG"];
Hi Janos,
Not sure if this is related to the error message, but there is a syntax error here
Export["MagneticField", lvpiH], "PNG"]
Should be
Export["MagneticField.png", lvpiH]
Hi Rohit,
According to documentation my format is perfectly legitimate.
Export[dest,expr,"format"] exports data in the specified format.
Of course yours are too. :-)
Best, János
Mike,
In the meantime I managed to avoid that problem. My guess is it was a conflict between the Mathematica licence and the Wolfram Engine licence. Being careful about what wolframscript do I launch to execute the .wls file, I do not have that problem any more.
wolframscript
Thanks a lot for your attention, János