How can I create MEX function from a .m program?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a .m script from MATLAB and I want to convert it into an MEX function, in order to fasten the process. The application MATLAB Coder tells me that it's only possible with functions. However, I convert it into a function but it still give me errors to make the conversion. How can I do that conversion? On the other hand, how can I run this program when it is a MEX function?
In my code there is an "ode45" command that goes really slow in process, and it is giving me problems. Is there any possibility to fasten its execution?
Thanks for all
David
2 commentaires
Guillaume
le 20 Mai 2019
"but it still give me errors to make the conversion"
Until you tell use what the errors are, we can't tell you how to solve them. So, please give us the full text of the error message.
"Is there any possibility to fasten its execution"
Again, if you don't show us what you do, how can we tell? So show us your code as well.
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!