MATLAB superclass can not be found on the MATLAB's search path

前端 未结 1 867
失恋的感觉
失恋的感觉 2021-01-28 17:12

I have 2 paths :

  • C:\\controller\\functions\\verifyModel.m
  • C:\\OGVD\\prod\\KMLP\\controller\\controllerStatus.m

v

相关标签:
1条回答
  • 2021-01-28 17:38

    Before usage of controllerStatus use:

    addpath('C:\controller\functions\')
    

    Also, you might want to put in in a @ folder. These folders are added to the path whenever they are visible, so as they are a subfolder of your current path(pwd).

    Or add 'C:\controller\functions\' to your static matlab path, what I do not recommend.

    See also this answer.

    0 讨论(0)
提交回复
热议问题