matlab coder to convert built-in function to c
4 ビュー (過去 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.
0 件のコメント
回答 (1 件)
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
2018 年 12 月 5 日
function varargout = lcs_shim(varargin)
[varargout{1:nargout}] = lateralControlStanley(varargin{:});
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!