1.mex -setup:F:matlabbinwin64mexoptsmsvcpp2019.xml
2.cd F:hiudawnmatlabmatconvnet-1.0-beta25
2.addpath matlab
2.vl_compilenn
3.vl_testnn

我的问题是以上方法这样解决的,以下方法可供参考
我还是试了其他办法,但是没有用,如果不行的小伙伴可以一试
“install visual studio community edition ( it’s the free edition ) (minwg compiler will not work) go to C:Program Files (x86)Microsoft Visual Studio search for cl.exe take the one appropriate for your computer architecture and copy it to the folder containing the matconvnet installation run mex -setup c++ and set it to visual studio and you’re good to go”
方法1:找到cl.exe文件,我的在这个位置
C:Program Files (x86)Microsoft Visual Studio2019ProfessionalVCToolsMSVC14.16.27023binHostX64arm64
复制到matconvnet也就是matconvnet-1.0-beta25的文件里,在运行mex c++
方法2:注意自己安装的matlab版本,matlab版本2018 是不支持visual studio ,只能用mingwg64,所以注意自己matlab 的版本是什么,如果不清楚可以到这个网站查一下
https://se.mathworks.com/support/requirements/previous-releases.html
方法3,找到cl.exe,将其位置添加到系统环境当中
最后
以上就是鲤鱼黑猫最近收集整理的关于matlab 安装matconvnet 出现 CL.EXE not found in PATH. >cl_path = fileparts(check_clpath());的全部内容,更多相关matlab内容请搜索靠谱客的其他文章。
发表评论 取消回复