Internal Error: Could not determine class of method

I tried to run a file in our school server but encounter this error.
batch('MIP_test3')
Warning: Unable to calculate the dependencies of the files:
MIP_test3
Internal Error: Could not determine class of method
"/opt/matlab_R2014a/toolbox/shared/rptgen/@rptgen/hash.m". Number of classes checked: 23.
Could you tell me how to resolve this error?
Thanks.

2 Comments

Hi, I had a similar problem. In my case, the rootcause was that I used in my own source files a function "hash.m" or "hash.mexw64". Thus, there was a name conflict with the matlab built-in function hash.m. When I solved this by renaming my function, the build was successful.

Sign in to comment.

Answers (1)

Hi, I had a similar problem. In my case, the rootcause was that I used in my own source files a function "hash.m" or "hash.mexw64". Thus, there was a name conflict with the matlab built-in function hash.m. When I solved this by renaming my function, the build was successful.

Categories

Find more on Share and Distribute Software in Help Center and File Exchange

Tags

Asked:

on 24 Oct 2014

Commented:

on 26 Jan 2016

Community Treasure Hunt

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

Start Hunting!