Filter löschen
Filter löschen

from m-file to mex-file

1 Ansicht (letzte 30 Tage)
dario cecchetti
dario cecchetti am 12 Nov. 2017
Beantwortet: Nicolas Schmit am 13 Nov. 2017
Hi everybody, I wrote a scrip called main_zeri, with relatives function. Main_zeri calculates the solutions of the function with the main methods (regula-falsi, newton, bisection and secants). My goal is to convert the code in mex-file, but I have the following error: Error determining type input 'Bisection: f' (for instance f=x^2), Class function_handle is not supported by coder Type. How can I solve this problem?

Akzeptierte Antwort

Nicolas Schmit
Nicolas Schmit am 13 Nov. 2017
There are limitation when using function handles with MATLAB coder.
The documentation here should help you to fix the problem.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by