Error in compiled code with wavelet toolbox

조회 수: 1 (최근 30일)
Marco Baglio
Marco Baglio 2016년 11월 3일
답변: Wayne King 2016년 11월 3일
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.

답변 (1개)

Wayne King
Wayne King 2016년 11월 3일
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

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by