MCC unable to locate file as a function on MATLAB path

Hi,
While trying to compile with matlab packages, I get the 'Unable to locate func.m as a function on the MATLAB path'
I am using matlab packages and say the func.m file exists in a +tools folder,and the main.m function calls the func.m as tools.func().
I tried the following without success:
1) mcc -m main.m tools.func.m
2) mcc -m main.m func.m
Thanks for any help.
Thanks, Shiva

2 Comments

Is the +tools folder on the MATLAB path?
Yes, i suppose it is on the MATLAB path, but since we are calling the function as foldername.function(), so I am not sure. Also, I tried adding the +tool to the path as well, but got a Warning: Package directories not allowed in MATLAB path.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Asked:

on 1 Apr 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!