How to force MATLAB Coder to combine two functions into one?

I want to add two different functions in a single main c code generated by Matlab coder. How can I select two different functions, when MATLAB coder have only one entry point during a selection of input function?

 채택된 답변

Walter Roberson
Walter Roberson 2018년 2월 15일
편집: Walter Roberson 2018년 2월 15일

0 개 추천

Write a function that calls them in appropriate sequence and make that your entry point.

댓글 수: 1

I got the solution. We can click on add entry point and add additional function.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by