Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Shubhashree Bal
Shubhashree Bal le 15 Fév 2018
Commenté : Shubhashree Bal le 15 Fév 2018
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
Shubhashree Bal
Shubhashree Bal le 15 Fév 2018
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

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by