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?

 Accepted Answer

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

1 Comment

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

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!