Unable to compile mfilt.cicdecim and fvtool by Matlab Compiler 5.0

Hi there,
Matlab compiler is unable to compile mfilt.cicdecim and fvtool. I am creating a UI interface for a digital down converter and when I compile using mcc -mv DDC.m, I get a log file called mccExcludedFiles which has the information of the excluded toolbox and objects which the compiler is unable to compile. My question is, can matlab compile mfilt.cicdecim and other other objects related to mfilt or does matlab compiler does not support this? The error log looks something like this.
C:\Program Files\MATLAB\R2013b\toolbox\signal\sigtools\@sigcodegen\@mcodebuffer\mcodebuffer.m called by C:\Program Files\MATLAB\R2013b\toolbox\dsp\filterdesign\@mfilt\@abstractcicdecim\genmcode.m (because of toolbox compilability rules)
C:\Program Files\MATLAB\R2013b\toolbox\signal\signal\@dfilt\@basefilter\block.m called by C:\Program Files\MATLAB\R2013b\toolbox\dsp\filterdesign\@mfilt\@cascade\cascade.m (because of toolbox compilability rules)
C:\Program Files\MATLAB\R2013b\toolbox\signal\sigtools\fvtool.m called by C:\Program Files\MATLAB\R2013b\toolbox\signal\signal\@fdesign\@decimator\ifir.m (because of toolbox compilability rules)
Thanks,
Vijay

Respuestas (2)

Honglei Chen
Honglei Chen el 25 de Sept. de 2013
The apps and UIs are not compilable. See the documentation regarding the compiler limitation
Based on what you describe, I think it is more the fvtool that gives you trouble rather than mfilt. I was able to compile if I use only mfilt.crcdecim.
Vijay
Vijay el 25 de Sept. de 2013
Thank you for the reply. I removed fvtool and tried compiling. I am able to compile but when I run the executable it throws a error saying, feval error and undefined function. Is this error still because of "The apps and UIs are not compilable"? I read the mccExcludedFiles log file and this file says it is not able to compile mfilt and dfilt.
Thanks

1 comentario

I would suggest you to contact Tech Support at this point. The command line function should be able to compile. Still, from the error, it is more like an issue with feval not being able to find certain functions. Maybe you didn't include it?

Iniciar sesión para comentar.

Preguntada:

el 24 de Sept. de 2013

Comentada:

el 26 de Sept. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by