【发布时间】:2014-12-09 08:57:23
【问题描述】:
我正在尝试使用例如来自 MPC 工具箱的 setoutdist Matlab 函数(我在 Windows 8.1 上使用 Matlab R2013a)。作为回应,我收到:
Undefined function 'setoutdist' for input arguments of type 'ss'.
我可以使用help setoutdist 获得有关此功能的帮助。当我输入函数名称和左括号时,我会收到带有参数列表的提示。当我使用which setoutdist -all 时,我收到了正确的输出:
C:\Program Files\MATLAB\R2013a\toolbox\mpc\mpc\@mpc\setoutdist.m % mpc method code here
但即使在默认的 Matlab 路径中,该功能也不起作用,所以我认为它不会被遮蔽。
其他函数也是如此,例如setindist、setestim、mpc_struct等,但mpc、mpcstate和mpcmove函数工作正常。
我正在尝试:clear all、clear classess、rehash toolbox、rehash pathreset、rehash toolboxreset,使用 pathtool 恢复默认路径。我已经阻止了防病毒软件并将例外添加到它的列表中。我什至重新安装了我的 Matlab,没有任何帮助。
也许这很重要:当我尝试编辑 setoutdist.m 时,我收到拒绝访问的消息。
我将非常感谢任何帮助...
【问题讨论】: