Errors caused when running compiled matlab code that use classes.

6 次查看(过去 30 天)
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

回答(1 个)

Lukasz Wieczorek
Lukasz Wieczorek 2016-10-16
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?

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by