UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor avishwas_79
Visitor
191 Views
Registered: ‎12-03-2019

Xilinx System Generator

I am using the MCode block of the system generator which points to a function that obtains the sine wave for a specified amplitude and frequency. 

However, I see that upon compiling, an error shows up which points to the Matlab fucntion "sin" being regarded as a variable. 

Are there any restrictions on which functions can be used in the MCode block? 

Thanks!

0 Kudos
1 Reply
Moderator
Moderator
76 Views
Registered: ‎08-01-2007

回复: Xilinx System Generator

Yes, The MCode block supports a limited subset of the MATLAB language that is useful for implementing arithmetic functions, finite state machines, and control logic.

0 Kudos