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?

 Réponse acceptée

Walter Roberson
Walter Roberson le 15 Fév 2018
Modifié(e) : Walter Roberson le 15 Fév 2018
Write a function that calls them in appropriate sequence and make that your entry point.

1 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by