How can I call assembler code DSP28x_usDelay() in a simulink model
4 views (last 30 days)
Show older comments
dream well
on 9 Feb 2018
Answered: Venkatesh Chilapur
on 11 Feb 2018
Hello All,
When I use Simulink model to generate code on a C2000 platform, I don't know how to call assembler code DSP28x_usDelay() in the model.Any one can help me? Thank you.
0 Comments
Accepted Answer
Venkatesh Chilapur
on 11 Feb 2018
Please use Atomic subsystem and place the customer code block from Simulink coder -> custom code -> system outputs. double click on this block and place the function call inside the execution code section. You may also try coder.extrensic inside a MATLAB function block, or S-function, etc.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!