How do I import/include MATLAB functions?

前端 未结 4 1032
谎友^
谎友^ 2021-02-11 16:13

I have some MATLAB functions defined in .m files and I\'d like to import them into MATLAB (as in I\'d like to be able to call them as I do a built-in function). How can I do thi

4条回答
  •  滥情空心
    2021-02-11 17:08

    Solution for Windows

    Go to File --> Set Path and add the folder containing the functions as Matlab files. (At least for Matlab 2007b on Vista)

提交回复
热议问题