Best practices for creating a brand new embedded real-time target (ERT)?
조회 수: 2 (최근 30일)
이전 댓글 표시
Mathworks now has multiple ways to do the same thing. I can't seem to find or get a straight answer about what is the modern (2019) way to create a custom target in 2018b+. Without tying myself to any legacy processes.
- The best (and only) real googleable resource for Target Language Compiler radio.feld.cvut.cz/matlab/toolbox/rtw/tlc_ref/cp_intr6.html has now started returning 403s. TLC is still 'supported' but it appears to be deprecated. TLC itself in industry seems to be a blackbox to 99.99% of people that have heard of it. I realize there are the Matlab documentation, but it is sparse of examples. Searching google ends up with 'google golf' where there may be one or two hits for some piece of TLC you're working on.
- The "Legacy Code Tool", https://www.mathworks.com/help/simulink/sfg/integrating-existing-c-functions-into-simulink-models-with-the-legacy-code-tool.html Which seems to automate a bit of stuff if you feed it a header.
- The OOP method that they're using with arduino and raspberrypi. I can't find any too much documentation on it. I also can't tell if it's just a workaround to allow Arduino/RaspberryPi without full Embedded RealTime Workshop/Simulink Coder license.
I realize that it's a extremely small niche and that once setup correctly "Embedded Coder" handles the rest. However It would be nice to see some direction from Mathworks on which way to go.
댓글 수: 0
답변 (1개)
Abhishek Singh
2019년 3월 8일
You can find the available Hardware support packages here:
You can request for new Hardware packages here:
If your hardware is using an ARM processor, Mathworks provide tools for developing new targets. These guides walk you through developing a custom target for different ARM processors that are supported.
ARM Cortex-A:
ARM Cortex-M:
ARM Cortex-R:
You can also consult Mathworks Consulting services for any assistance here:
You might also find these links to be useful:
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!