Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: mcc gets depfun error
Replies: 2   Last Post: Jul 1, 2013 2:36 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David

Posts: 3
Registered: 4/24/13
mcc gets depfun error
Posted: Apr 25, 2013 11:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.