i am working with Embedded Coder Support Package for TI C2000. When using the CLA data Handling has to be done carefully regarding things like CPU_to_CLA or CLA_to_CPU.
What i already figured out is that if i use an integrator inside a CLA Task is have to place the State attributes in CLA Data Ram to get it to work.
Now i use a Matlab Funktion inside the CLA an Need a variable that also keeps ist state. For the normal CPU this can be done by using "persistent" in the declaration. For the CLA this is not working because the Variable has to be in the CLA Data Ram.
Can somebody please tell me how to declare this in the Maltlab Function Block?
The Signal Object Class i want to use is tic2000demospkg.signal and the code Generation storage class is Cla1DataRam.