TI C2000 Embedded Coder CLA Example

4 views (last 30 days)
Patricio Peralta
Patricio Peralta on 22 Oct 2020
Answered: Ram Alla on 30 Oct 2020
Hello everyone,
I am trying to follow Matlab's examples ( https://ch.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/using-the-control-law-accelerator-cla.html ) on how to use the CLA on a TI Delfino Launchpad. I am trying to implement and follow it on Matlab R2020b.
I am actually having trouble defining the signal object class and its storage class, as seen in
In the Matlab R2020b interface, I do not seem to have the 'Code Generation' tab which is shown.
I'd greatly appreciate if someone indicated how to define the object and storage classes of signals, since I am trying to exploit CLA capabilities. This seems as a crucial step.
Thanks,
Patricio
  2 Comments
Mark McBroom
Mark McBroom on 24 Oct 2020
Do you have licenses for MATLAB Coder, Simulink Coder and Embedded Coder? Type "ver" at the MATLAB prompt to see what you have installed.
Patricio Peralta
Patricio Peralta on 26 Oct 2020
Hello,
Thank you for your prompt answer.
I typed ver, and it displayed ...
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1495850 (R2020b) Update 1
MATLAB License Number: 303238
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 18362)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Control System Toolbox Version 10.9 (R2020b)
Data Acquisition Toolbox Version 4.2 (R2020b)
Embedded Coder Version 7.5 (R2020b)
Fixed-Point Designer Version 7.1 (R2020b)
Global Optimization Toolbox Version 4.4 (R2020b)
MATLAB Coder Version 5.1 (R2020b)
MATLAB Compiler Version 8.1 (R2020b)
MATLAB Compiler SDK Version 6.9 (R2020b)
MATLAB Report Generator Version 5.9 (R2020b)
Optimization Toolbox Version 9.0 (R2020b)
Robust Control Toolbox Version 6.9 (R2020b)
Signal Processing Toolbox Version 8.5 (R2020b)
Simscape Version 5.0 (R2020b)
Simscape Electrical Version 7.4 (R2020b)
Simulink Code Inspector Version 3.7 (R2020b)
Simulink Coder Version 9.4 (R2020b)
Simulink Compiler Version 1.1 (R2020b)
Simulink Real-Time Version 7.0 (R2020b)
Simulink Report Generator Version 5.9 (R2020b)
Statistics and Machine Learning Toolbox Version 12.0 (R2020b)
Symbolic Math Toolbox Version 8.6 (R2020b)
-----------------------------------------------------------------------------------------------------
I am not sure if I am missing anything, but I the example I cited before does compile and work properly on my computer. Thus, I am not completely sure it's a add-on issue.
Thank you very much

Sign in to comment.

Answers (1)

Ram Alla
Ram Alla on 30 Oct 2020
This query is answered in TI e2e forum. Refer to the below link:
Regards,
Ram Alla.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!