Internal Error: Could not determine class of method

2 views (last 30 days)
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
Dirk Seidel
Dirk Seidel on 26 Jan 2016
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)

Dirk Seidel
Dirk Seidel on 26 Jan 2016
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 App Building in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!