我是靠谱客的博主 疯狂鱼,最近开发中收集的这篇文章主要介绍Solve Error : Undefined function or variable ‘setInitialWorkingFolder’. Error in matlabrc (line 197)...,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

 

When compile program using Visual Studio 2015, Matlab 2016b, and OpenCV 3.1.0, one might get the error as follow:

Undefined function or variable ‘setInitialWorkingFolder’.

Error in matlabrc (line 197)

Could not initialize the library properly

This error occurs because there might be multiple versions of Matlab and OpenCV. So you need to uninstall all other version and Matlab and OpenCV. If you really don't want to uninstall them, at least you need to remove them from the enviromental path. 

For Matlab 2016b, be sure to include correct path, like:

 

SET MATLAB_VERSION=R2016b

SET MATLABROOT=%PROGRAMFILES%MATLAB%MATLAB_VERSION%

SET PATH=%MATLABROOT%binwin64;%MATLABROOT%runtimewin64;%MATLABROOT%bin;%PATH%

 

转载于:https://www.cnblogs.com/grandyang/p/6372319.html

最后

以上就是疯狂鱼为你收集整理的Solve Error : Undefined function or variable ‘setInitialWorkingFolder’. Error in matlabrc (line 197)...的全部内容,希望文章能够帮你解决Solve Error : Undefined function or variable ‘setInitialWorkingFolder’. Error in matlabrc (line 197)...所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部