MathTop

currentdir 函数

返回或更改相对文件名所使用的当前目录。

语法

  • currentdir()
  • currentdir(path)

参数与选项

path可选的目录路径。

示例

  1. 当前目录currentdir()返回当前输入输出目录。