MATLAB: How is it possible to call C Function in MATLAB Script files cMATLAB Compiler Actually i have a problem to interface c code with matlab program.Please any one has idea.please help me. Best Answer doc 'MEX File Creation API'gives information on this. It isn't trivial so you need to read up on it and then feel free to ask more specific questions afterwards. Related SolutionsMATLAB: How to make mex file of C program in matlab if it is mex file, its mean C code for matlab. then simply compile it by this command in matlab editor.mex unravel.c;then you can call unravel as function in matlab. MATLAB: Script to call functions function mains=input('insert the function number: ')switch scase 1fun1case 2fun2case 3fun3case 4fun4case 5fun5case 6fun6case 7fun7otherwisedisp('Error, you must insert number from 1 to 7')end Related QuestionIs it possible to call a matlab file from linux code scriptIs there any possibility of S-function written in C language calling matlab function library, and if so, then how ? I will appreciate that if someone can tell me.Is it possible to call a live script matlab file from another one
Best Answer