Best practices for creating a brand new embedded real-time target (ERT)?
3 次查看(过去 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!