Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapi

Post Reply
farnooshY
Posts: 1108
Joined: Thu Mar 04, 2021 2:48 pm
Contact:

Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapi

Post by farnooshY »

Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapid Accelerator mode simulation requires code generation and simulation targets to register the same set of persistent variables for this block. This discrepancy is typically caused by MATLAB functions that have different code paths for simulation and code generation targets where these code paths define different sets of persistent variables. Please identify these code paths in the offending block and rewrite the MATLAB code so that the set of persistent variables is the same between simulation and code generation

cdr
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests