interfacing of c program written in codeblocks to matlab

3 views (last 30 days)
please any body provide me the way to interface c with the matlab programming...suppose i have written c program for addition of two numbers in codeblocks and user can give the inputs,but i want to give inputs through the matlab for that program and get the output back in matlab. . . please help... ....hoping for the reply soon...
  2 Comments
satnam singh
satnam singh on 28 Feb 2013
hey..anybody there ,,having the answer..??????? ..please explain...!!!!!
Ivan Calero
Ivan Calero on 29 Nov 2018
hola, Encontraste la solucion.? porque tengo el mismo problema.!!

Sign in to comment.

Accepted Answer

TAB
TAB on 28 Feb 2013
You can build your c code into mex file and call the mex file in matlab. Mex is the bridge between external programming languages like c/c++, fortran and matlab.
See
  9 Comments
satnam singh
satnam singh on 6 Mar 2013
please explain in simple steps..without providing big documents to read because they are confusing...
Walter Roberson
Walter Roberson on 6 Mar 2013
Note: there is no point in asking volunteers to please answer, repeatedly, when the volunteers are sleeping. If you need faster response then you are getting, you should open a technical support case, or hire a consultant.

Sign in to comment.

More Answers (1)

Ivan Calero
Ivan Calero on 8 Nov 2018
Edited: Ivan Calero on 8 Nov 2018
hola tengo el mismo problema, quisiera saber si alguien obtuvo una solución, porque de igual forma necesito interactuar desde MATLAB al enviar un DATO a CODEBLOCK !!!

Categories

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!