how to convert matlab program to c code

how to convert matlab program to c code

Post by shine » Thu, 23 Oct 2008 17:25:03



DEAR...i have written a matlab program to find the edge of an image..i want to convert it into c code....so please help me how to convert it into c.The program is shown below
SHINE
function ret=main(filename);
% filename=input('enter the input file name','s')
in=imread(filename);
out=edge(in(:,:,1),'canny');
figure;imshow(out);
imwrite(out,'out.bmp','BMP');
 
 
 

how to convert matlab program to c code

Post by Walter Rob » Thu, 23 Oct 2008 20:53:11


Please review the following discussions:

http://www.yqcomputer.com/

http://www.yqcomputer.com/

In that second discussion, John Reilly's post (and my reply) are directly relevant to
you.