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