01-07-2021 03:27 PM
Can someone please help me understand why my System Generator type will not correctly propagate to the Simulink environment in this example?
All of the Matlab documentation about "to workspace" and the System Generator "gateway out" documentation suggest this example should work.
My ultimate goal is to save the fixed-point output from a System Generator model as the equivalent Simulink fixed-point type and save the time series to the workspace.
System Generator 2019.1 with Matlab Simulink 2018a.
02-08-2021 12:57 AM
Hi Jake,
I do not see any usage of having Assert block in your design, it is only used for feedback loops to handle rate and type propagation of the signals. Please change your design as below and it will work, meaning enable the sample time period option on the sysgen constant block
Regards,
Raju A.
02-08-2021 12:57 AM
Hi Jake,
I do not see any usage of having Assert block in your design, it is only used for feedback loops to handle rate and type propagation of the signals. Please change your design as below and it will work, meaning enable the sample time period option on the sysgen constant block
Regards,
Raju A.
02-16-2021 08:30 AM
Thank you for answering this. I will accept your solution.