matlab coder to convert built-in function to c

3 次查看(过去 30 天)
i want to convert the lateralControlStanley function to c by using matlab coder. but it show that [matlab built-in functions and toolbox functions cannot be used as entry-point in matlab coder].
what should i do??
thank a lot.

回答(1 个)

Walter Roberson
Walter Roberson 2018-12-5
Write your own function that calls that one and tell it to compile yours.
I see from the documentation in the Driving toolbox that code generation is supported for it.
  2 个评论
Walter Roberson
Walter Roberson 2018-12-5
function varargout = lcs_shim(varargin)
[varargout{1:nargout}] = lateralControlStanley(varargin{:});

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by