MATLAB Answers

0

Error in compiled code with wavelet toolbox

Marco Baglio 님이 질문을 제출함. 3 Nov 2016
최근 활동 Wayne King 님이 답변함. 3 Nov 2016
I have a matlab GUI, which works perfectly in Matlab, that I compiled in a stand-alone application. However I receive an error in a particular callback; which I've got from the command line interface:
wfilters ---> Invalid wavelet file : dmey.mat
The corresponding line is:
nxdim = max(read(wpdec(zeros(1,ndata),depth,wvlt),'sizes',2^depth-1));
It is clearly related to wavelet toolbox, but I couldn't find anything with debugging or on the web.

  댓글 수: 0

로그인 to comment.

답변 수: 1

Wayne King 님의 답변 3 Nov 2016

Hi Marco, This was a bug that was fixed in 16b. You should be able to get around this bug by using the -a option with mcc. The -a option will include the file you are missing.
So
mcc -a dmey.mat
I don't think you should need to specify the full path because dmey.mat should be on the MATLAB path.
Hope that helps, Wayne

  댓글 수: 0

로그인 to comment.



Translated by