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?

 Risposta accettata

Walter Roberson
Walter Roberson il 15 Feb 2018
Modificato: Walter Roberson il 15 Feb 2018
Write a function that calls them in appropriate sequence and make that your entry point.

1 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by