Clear Filters
Clear Filters

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

1 view (last 30 days)
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

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

More Answers (0)


Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!