我仍然对 MathKernel 的此类命令行选项的使用一无所知,例如
-lmverbose
-run cmd
-password "pw"
-pwfile "file"
他们如何工作以及需要他们做什么?
MathKernel 和前端是否还有其他可能有用的命令行选项?
P.S. 相关答案 https://stackoverflow.com/questions/4198961/what-is-in-your-mathematica-tool-bag/5771946#5771946.
请查阅以下参考页面:数学内核 http://reference.wolfram.com/mathematica/ref/program/MathKernel.html and 数学 http://reference.wolfram.com/mathematica/ref/program/Mathematica.html。打开“更多信息”部分,您将看到记录的选项。它说
-pwfile "file" ---------- 从文件中读取密码
-run cmd ----------- 启动时运行cmd
-lmverbose ------------ 打印与 MathLM 交互的信息
可以使用 -run 选项在第一次输入之前执行某些命令,并且不会影响In
/Out
. Try MathKernel -run "a=1"
并评估a
on In1 http://reference.wolfram.com/mathematica/ref/program/MathKernel.html.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)