Errors caused when running compiled matlab code that use classes.
6 views (last 30 days)
Show older comments
Hi all,
I've compiled a matlab function to run on a more powerful machine. The function runs perfectly fine on matlab, but once compiled and submitted to the aforementioned machine, I receive non-descriptive errors. I'm not new to using compiled matlab files, however the only different thing in my current situation is that the matlab function I'm compiling consists of a couple of user defined classes (which I admit I am not so familiar with).
The errors I receive are:
Error using prmapping (line 128) %"prmapping is the name of one of the classes"
Not enough input arguments. %"I don't get this error while running the original (non-compiled) code."
Error in
/tmp/mcr_cache_root_user/.mcrCache7.17/oc_cla2/mytools/prtools5/prtools/@prdataset/prdataset.p>prdataset
(line 86)
MATLAB:minrhs
I'd appreciate some help on this.
Thanks
0 Comments
Answers (1)
Lukasz Wieczorek
on 16 Oct 2016
Have u tried to run this on your own machine? Do the more powerful machine u said has MATLAB installed with additions u use? Do u coder.extrinsic any function in your code?
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!