matlab coder to convert built-in function to c

조회 수: 1 (최근 30일)
Sying Yong Yee
Sying Yong Yee 2018년 12월 5일
댓글: Walter Roberson 2018년 12월 5일
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
Sying Yong Yee
Sying Yong Yee 2018년 12월 5일
what do u mean write down my own function?
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