How to call .c file from matlab script

4 views (last 30 days)
Atinesh Singh
Atinesh Singh on 14 Apr 2017
Commented: James Tursa on 14 Apr 2017
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
I tried using
mex -setup
but got same error. I'm using Matlab R2015a
James Tursa
James Tursa on 14 Apr 2017
The list on the provided link shows Microsoft SDK 7.1 or Visual C/C++ (various releases) are supported.

Sign in to comment.

Answers (0)


Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by