Errors occurred during parsing of MATLAB function 'MATLAB Function'(#24)

6 visualizaciones (últimos 30 días)
hanaa
hanaa el 12 de Jul. de 2014
Comentada: hanaa el 12 de Jul. de 2014
I'm trying to run SPIHT algorithm without arithmetic coding with Matlab function block, the whole code is attached, and error list shown the following errors:
Expected either a logical, char, int, fi, single, or double. Found an mxArray. MxArrays are returned from calls to the MATLAB interpreter and are not supported inside expressions. They may only be used on the right-hand side of assignments and as arguments to extrinsic functions.
Function 'MATLAB Function' (#25.2051.2057), line 82, column 26: "Orig_I" Launch diagnostic report. Component: MATLAB Function | Category: Coder error
Undefined function or variable 'MSE'. The first assignment to a local variable determines its class.
Function 'MATLAB Function' (#25.2138.2141), line 83, column 59: "MSE" Launch diagnostic report. Component: MATLAB Function | Category: Coder error
Errors occurred during parsing of MATLAB function 'MATLAB Function'(#24)
Component: MATLAB Function | Category: Coder error
Code Directory :
"C:\Users\hanaa\Documents\MATLAB\slprj\_sfprj\spiht_try\_self\sfun\src"
Machine (#21): "spiht_try" Target : "sfun"
Chart "MATLAB Function" (#24):
. Code generation failed Errors occurred during parsing of MATLAB function 'MATLAB Function'(#24)
please help. thanks.

Respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by