How to call .c file from matlab script

1 vue (au cours des 30 derniers jours)
Atinesh Singh
Atinesh Singh le 14 Avr 2017
Commenté : James Tursa le 14 Avr 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
http://www.mathworks.com/support/compilers/R2015a/win64.html.
I tried using
mex -setup
but got same error. I'm using Matlab R2015a
  3 commentaires
Atinesh Singh
Atinesh Singh le 14 Avr 2017
Modifié(e) : Atinesh Singh le 14 Avr 2017
I have Code Blocks installed on my machine
James Tursa
James Tursa le 14 Avr 2017
The list on the provided link shows Microsoft SDK 7.1 or Visual C/C++ (various releases) are supported.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by