stereo icon indicating copy to clipboard operation
stereo copied to clipboard

Compiling issue

Open ihtishamaliktk opened this issue 5 years ago • 2 comments

Error using nargin You can only call nargin/nargout from within a MATLAB function. Error in vgg_mexcompile_script (line 20) if nargin == 2 && isequal(varargin{1}, 'compile')

I change it to a function as well and set the first input as 'compile'. However, it then requires other stuff. Can you clarify what should be inputed to the function then since vgg_mexcompile_script requires funcName, sourceList, varargin{2}

ihtishamaliktk avatar Aug 28 '18 08:08 ihtishamaliktk

Hello,

Could you provide more information, what script are you running and with what arguments?

The part of the code you have issue with is from another repository see https://github.com/ojwoodford/ibr_toolbox/blob/master/vgg/vgg_mexcompile.m

If you have are only interested in that part of the code I would recommend using this repository directly.

johannesu avatar Aug 28 '18 14:08 johannesu

Thank you for the response. I wasn't aware of the separate repository. It would be better to post it there. Nonetheless, since your work uses that repository, it causes the same issue due to the connection (example_global>dispmap_globalstereo>preprocess > vgg_segment_ms > vgg_mexcompile_script).

ihtishamaliktk avatar Aug 29 '18 06:08 ihtishamaliktk