例如,我正在尝试使用setoutdist
MPC 工具箱中的 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
我收到拒绝访问的消息。
我将非常感谢任何帮助...