matlab function simulink中一直提示Unable to locate a C-compiler required by Stateflow and MATLAB F
在simulink模块中使用到matlabfunction,一直提示UnabletolocateaC-compilerrequiredbyStateflowandMATL...
在simulink模块中使用到matlab function,一直提示
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks.
Use 'mex -setup' to select a supported C-compiler.难道matlab function模块不能直接使用吗 展开
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks.
Use 'mex -setup' to select a supported C-compiler.难道matlab function模块不能直接使用吗 展开
1个回答
2014-12-26
展开全部
在command window中输入
mex -setup
and select one of the compilers that shows up.
If no compilers show up, then you need to install a compiler. The appropriate compiler to install will depend upon your MATLAB version and your operating system and whether you are using 32 bit MATLAB or 64 bit MATLAB.
http://www.mathworks.com/support/sysreq/previous_releases.html
mex -setup
and select one of the compilers that shows up.
If no compilers show up, then you need to install a compiler. The appropriate compiler to install will depend upon your MATLAB version and your operating system and whether you are using 32 bit MATLAB or 64 bit MATLAB.
http://www.mathworks.com/support/sysreq/previous_releases.html
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询