Rely good work but it give me that error so any one can help me cause i'm anew user for matlab
??? Error using ==> fread
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> read_wobj>file2cellarray at 298
file_text=fread(fid, inf, 'uint8=>char')';
Error in ==> read_wobj>readmtl at 363
file_words=file2cellarray(filename_mtl);
Error in ==> read_wobj at 78
material=readmtl(filename_mtl,verbose);
and that in read file
thanks for help
Using MSVC++ 2010 compiler, sample_mvgm throws an error when called in test_yael_kmeans:
"mu must be (d x 1 x M x n1 x ... x nl)"
where
mu = cat(3 , [-2.5 ; -3] , [0 ; 0] ,[ 5 ; 5]); %(d x 1 x M)
I tried this on an obj file created by meshlab and it returned this error
% OBJ File Generated by Meshlab
%
% Object example-cloud.obj
%
% Vertices: 197749
% Faces: 0
%
??? Subscripted assignment dimension mismatch.
Error in ==> read_wobj at 90
vertices(nv,1:4)=data;
do you know how to fix it ? or how to obtain a 3d coordinates from meshlab?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I have the same problem as Nabil. you have found the solution? Thank you
Comment only