Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed at initialize: Field assignment to a non-structure array object #41

Open
thelittlekid opened this issue May 8, 2017 · 1 comment

Comments

@thelittlekid
Copy link

I got the following error at step 2 "initialize path variables" on Matlab R2016b 64-bit and Ubuntu 16.04 64-bit.

Added json encoder/decoder to the path
-- Successful installation of MCG. Enjoy! --
Field assignment to a non-structure array object.

Error in spagglom_options (line 7)
opts.seg_method = 'slic'; % 'felz', 'slic' or 'qshift'. Two first recommended


Error in initialize (line 50)
spagglom_options;

I tried to check the variable opts, and got the following error:

readonly
The P-code file .../object-proposal-master/randomizedPrims/rp-master/evaluation/xml_toolbox/strsplit.p was generated prior to MATLAB version 7.5 (R2007b) and is no longer supported. Use <a href="matlab:doc pcode">pcode</a> to regenerate the file using MATLAB R2007b or later. 
workspacefunc
350

Not quite sure what's going on, can somebody help and explain a little bit? Thanks.

@aroma123
Copy link
Contributor

aroma123 commented May 8, 2017

It looks like randomized prime code uses a compiled file which isn't supported by latest matlab version. If you need randomized prims proposals, my advise would be to try to compile their source code from scratch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants