Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: mcc gets depfun error
Date: Thu, 25 Apr 2013 15:50:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <klbjbi$rmc$1@newscl01ah.mathworks.com>
References: <klbgn5$j7m$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1366905010 28364 172.30.248.37 (25 Apr 2013 15:50:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 25 Apr 2013 15:50:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4262262
Xref: news.mathworks.com comp.soft-sys.matlab:794346

Ok, so i finally managed to solve it by myself.

The problem was as originaly the quotes. They were really needed and not sure with cmd, he needs them to be there " ... ".

So the working command is:

mcc -W "java:aaaa,MyClass" -T link:lib -d C:\Users\Jero\Documents\MATLAB\aaaa\src -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v class{MyClass:C:\Users\Jero\Documents\MATLAB\funkce.m}

SOLVED!