cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
2,856 Views
Registered: ‎09-14-2010

call back function in system generator

i am designing 4 tap filter in system generator its callback function is not working. the call back function includes the following code

 

STOP FUNCTION

--------------------------------------------------------------------------------------------------

 doFFTplot(fs,[FIROUT],['FIROUT'],1,3);

set(3,'Name','FFT Plot of Filter Impulse Response','NumberTitle','off');

setStandardFigSize(3);

--------------------------------------------------------------------------------------------------

 

 what should i do to remove these errors.

 

thanks for help in advance

Untitled.png
0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
2,853 Views
Registered: ‎08-02-2011

Re: call back function in system generator

What is the error?

www.xilinx.com
0 Kudos
Highlighted
2,847 Views
Registered: ‎09-14-2010

Re: call back function in system generator

these are the following 2 erros that appear in this design ....

errors.png
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
2,845 Views
Registered: ‎08-02-2011

Re: call back function in system generator

Here's the problem:

 

"Undefined function or method 'doFFTplot' for input arguments of type 'double'"

 

You need the code for 'doFFTplot' to be located in your working directory (or in your matlab PATH)

www.xilinx.com
0 Kudos