Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
how to convert matlab program to c code

Subject: how to convert matlab program to c code

From: shine t

Date: 22 Oct, 2008 08:25:03

Message: 1 of 2


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');

Subject: how to convert matlab program to c code

From: Walter Roberson

Date: 22 Oct, 2008 11:53:11

Message: 2 of 2

shine t wrote:
> 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.

Please review the following discussions:

http://groups.google.ca/group/comp.soft-sys.matlab/browse_thread/thread/6f3489304fe3db62/b674334083302ba8

http://groups.google.ca/group/comp.soft-sys.matlab/browse_thread/thread/1a41d467262eeb9e/d51006268c89ffaa

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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us