flatironinstitute / CaImAn-MATLAB

Complete Matlab pipeline for large scale calcium imaging data analysis
GNU General Public License v2.0
252 stars 147 forks source link

Error using cvxprob #20

Closed jafphd closed 8 years ago

jafphd commented 8 years ago

Hi, I got the following error when trying to execute the demo_script. I executed cvx_setup as you suggested and the script reports no problem. I would appreciate very much if you can help me on this issue. Thanks

Error using cvxprob (line 48) Struct contents reference from a non-struct array object.

Error in cvx_begin (line 41) assignin( 'caller', 'cvx_problem', cvxprob( varargin{:} ) );

Error in cvx_foopsi (line 20) cvx_begin quiet

Error in constrained_foopsi (line 178) [c(:,rep),bas(rep),cin(rep)] = cvx_foopsi(y,b,c1,sn,blb,g,w,~mis_data);

Error in update_temporal_components (line 199) parfor jj = 1:length(O{jo})

Error in demo_script (line 63) [C,f,P,S] = update_temporal_components(Yr,A,b,Cin,fin,P,options);

epnev commented 8 years ago

Hi @jafphd I searched for the error message you got and there might be some installation issues. See for example here: http://stackoverflow.com/questions/26191167/matlab-cvx-error-with-cvx-begin Can you run the cvx quickstart examples without problems as explained in this page?

jafphd commented 8 years ago

Thank you @epnev, I finally got the demo_script working as expected. I do not why but after trying several times running the script in Matlab R2015b (Win10), I've got to the error at cvxprob. This happened after the installation. But, after rebooting the system, I succeeded. All the best!

epnev commented 8 years ago

good to hear!