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$>
References: <klbgn5$j7m$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1366905010 28364 (25 Apr 2013 15:50:10 GMT)
NNTP-Posting-Date: Thu, 25 Apr 2013 15:50:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4262262
Xref: 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}