How to call .c file from matlab script
显示 更早的评论
I have a Matlab script which calls .c file using mex command
mex cSameGroup.c;
On running the script, I'm getting the following error message
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/win64.html.
I tried using
mex -setup
but got same error. I'm using Matlab R2015a
3 个评论
James Tursa
2017-4-14
You need to install a supported compiler before you will be able to mex (i.e., compile) that cSameGroup.c file.
Atinesh Singh
2017-4-14
编辑:Atinesh Singh
2017-4-14
James Tursa
2017-4-14
The list on the provided link shows Microsoft SDK 7.1 or Visual C/C++ (various releases) are supported.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!