Errors caused when running compiled matlab code that use classes.

5 vues (au cours des 30 derniers jours)
Navid
Navid le 8 Nov 2013
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

Réponses (1)

Lukasz Wieczorek
Lukasz Wieczorek le 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?

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by