相关疑难解决方法(0)

如何找到Mathematica笔记本中发生错误的行?

我有一个名为myUsefulFunctions.m的Mathematica文件,其中包含一个名为mySuperUsefulFunction的函数.假设我在笔记本中调用mySuperUsefulFunction并收到以下错误:

Part::pspec: Part specification #1 is neither an integer nor a list of integers. >>
Run Code Online (Sandbox Code Playgroud)

有没有办法在myUsefulFunctions.m中找到发生此错误的行?

debugging wolfram-mathematica

28
推荐指数
4
解决办法
6867
查看次数

标签 统计

debugging ×1

wolfram-mathematica ×1