Thread Subject: MCC option doesn't works

Subject: MCC option doesn't works

From: Vinicius

Date: 4 Sep, 2008 13:09:03

Message: 1 of 2

Hi everybody,

I'm using matlab r2007a and I want to convert .m files in .c
files. I had search in the web about MCC.
I found the mcc comand:
>> mcc -c myFile.m
that will generates a .c file.
But when I type the command above, I get the error:

>> mcc -c edgeFerrari.m
??? Unable to determine application type, since no wrapper
function was specified.
Please use the -W switch or specify application type via -m
or -l.
Type 'mcc -?' for further assistance.

What should I do?
Thanks,

Subject: MCC option doesn't works

From: Phil Goddard

Date: 4 Sep, 2008 15:28:02

Message: 2 of 2


Have a much closer look at the doc for the -c option of mex.
It is used in conjunction with other flags, not by itself.

Also, if I understand what you are trying to do, then you
should have a much closer look at how the MATLAB compiler
(mcc) works.
It does not make a straight conversion from m to c as it
appears you are wanting.

Phil.

Tags for this Thread

Everyone's Tags:

mcc(2), c

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
mcc Phil Goddard 4 Sep, 2008 11:30:20
c Vinicius 4 Sep, 2008 09:10:20
mcc Vinicius 4 Sep, 2008 09:10:20
rssFeed for this Thread

Contact us at files@mathworks.com