|
SOLUTIONS
|
MATHEMATICA 内置符号
$UserBaseDirectory
$UserBaseDirectory
给出基础目录,Mathematica 装入的用户特定文件采用常规方式存放其中.
更多信息更多信息
- $UserBaseDirectory 以字符串形式返回全名目录.
- 典型值为:
-
C:\Users\username\AppData\Roaming\Mathematica Windows ~/Library/Mathematica Macintosh ~/.Mathematica Unix - 可以在 Mathematica 内核运行时通过设定
操作系统环境变量来指定 $UserBaseDirectory 的值. 它不可以在核的内部进行重设. - $UserBaseDirectory 的典型子目录为:
-
Applications Mathematica 应用软件程序包 Autoload 启动自动加载的程序包 FrontEnd 前端初始化文件 Kernel 内核初始化文件 Licensing 许可证管理文件 SystemFiles 一般系统文件 - 在可能的情况下,这些子目录在特定用户第一次运行 Mathematica 时自动生成.
- $Path 自动包含适当子目录.
- $UserBaseDirectory 的子目录在 $Path 中给出,位于相应的 $BaseDirectory 子目录之前.
版本 5 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
