how to convert C file into M file

i try to convert the .c file into .m file but matlab gives the following error
mex imsmooth.c
C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: 'imsmooth.c' not found.
??? Error using ==> mex at 221 Unable to complete successfully.

Answers (1)

Walter Roberson
Walter Roberson on 24 Nov 2012
The C file needs to be in your current directory when you use the command in that form.

Categories

Tags

Asked:

on 24 Nov 2012

Community Treasure Hunt

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

Start Hunting!