Can I generate code from Mapping Toolbox functions with MATLAB Coder 2.3 (R2012b)?

I am looking to generate code from some functions in Mapping Toolbox 3.6 (R2012b) with MATLAB Coder 2.3 (R2012b).
Namely, I am looking for code generation support for 'shaperead', 'shapewrite' and 'shapeinfo'. Is this possible?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 7월 11일
편집: MathWorks Support Team 2023년 7월 13일
Mapping Toolbox functions are not supported for code generation in MATLAB Coder 2.3 (R2012b).
As a workaround, it may be possible to use a combination of built-in MATLAB and C functionality to recreate similar behavior for code generation.
As of R2021a, you can generate C and C++ code using MATLAB Coder for some Mapping Toolbox functions, including:
  • 3-D coordinate and vector transformation functions such as 'ecef2enu', 'geodetic2ned', and 'ecef2enuv'
  • The 'oblateSpheroid' object and 'wgs84Ellipsoid' function
  • The 'wrapToPi', 'wrapTo2Pi', 'wrapTo180', and 'wrapTo360' functions

추가 답변 (0개)

제품

릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by