Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
David
Posts:
3
Registered:
4/24/13
|
|
mcc gets depfun error
Posted:
Apr 25, 2013 11:05 AM
|
|
Hello,
im using mcc to compile come *.m files into jar package. I tried to copy the command from MATLAB to do that, becouse im forced to do that in command line. Anyway when i run the command:
mcc -W 'java:mypackage,MyClass' -T link:lib -d C:\Users\Jero\Documents\MATLAB\mypackage\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\func.m}
Im getting error: " 'java:mypackage " is not a valid -W option argument.
After few attempts of getting it right, i figured out, that mcc was having a problem with ' quotes. But now im getting different error:
Depfun error: 'Unable to locate MyClass as a function on the MATLAB path'
Could anyone help me to resolve this? Thanks
|
|
|
|