AR# 31933

|

11.3 System Generator for DSP - Why do I receive an error message stating "Continuous sample times not allowed" when driving a Simulink Spectrum Scope with Xilinx System Generator blocks?

描述

Why do I receive error messages when my Simulink model uses Simulink Spectrum Scope Blocks to plot the output of System Generator blocks?

解决方案

Because of the interaction with the System Generator simulation solver and the MATLAB solver, some System Generator designs will appear to Simulink blocks with a continuous sample rate. 

When this occurs, you cannot directly connect the outputs of System Generator blocks directly to Simulink blocks such as the Spectrum Scope, because they cannot accept continuous sample times.  

To work around this issue, you can add a Simulink Zero Order Hold block, or any other Simulink block that samples the signal, which will sample the signal and allow it to drive blocks such as the Spectrum Scope. 

You can find the Zero-Order Hold block in the default Simulink > Discrete blockset.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
29595 Xilinx DSP Tools, System Generator for DSP, and AccelDSP Synthesis Tool - Release Notes and Known Issues N/A N/A
AR# 31933
日期 09/03/2014
状态 Active
Type 综合文章
Tools More Less
People Also Viewed