matlab 安装matconvnet 出现 CL.EXE not found in PATH. >cl_path = fileparts(check_clpath());

1.mex -setup:F:\matlab\bin\win64\mexopts\msvcpp2019.xml
2.cd F:\hiudawn\matlab\matconvnet-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 Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\arm64
复制到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,将其位置添加到系统环境当中

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值