Mathematica内核和FrontEnd的命令行参数 [英] Command-line arguments of Mathematica Kernel and FrontEnd

查看:117
本文介绍了Mathematica内核和FrontEnd的命令行参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然对MathKernel这样的命令行选项的用法一无所知

-lmverbose
-run cmd
-password "pw"
-pwfile "file"

它们如何工作以及需要什么?

MathKernel和FrontEnd是否还有其他可能有用的命令行选项?

P.S. 相关答案.

解决方案

请查阅以下参考页: MathKernel Mathematica .打开更多信息"部分,您将看到记录的选项.它说

-pwfile文件" -------从文件中读取密码

-运行cmd -----------在启动时运行cmd

-lmverbose ------------打印与MathLM交互的信息


可以在第一次输入之前使用-run选项执行某些命令,并且不会影响In/Out.尝试MathKernel -run "a=1"并在 1 上评估a.

I still know nothing on usage of such command-line options of MathKernel as

-lmverbose
-run cmd
-password "pw"
-pwfile "file"

How are they working and what they are needed for?

Are there other potentially useful command-line options of the MathKernel and the FrontEnd?

P.S. Related answer.

解决方案

Please consult the following reference pages: MathKernel and Mathematica. Opening "More Information" section you will see documented options. Its says

-pwfile "file" ------- read passwords from file

-run cmd ----------- run cmd on startup

-lmverbose ------------ print information on interactions with MathLM


One can use -run option to execute certain commands before the first input, and it will not affect In/Out. Try MathKernel -run "a=1" and evaluate a on In1.

这篇关于Mathematica内核和FrontEnd的命令行参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆