How to implement levmar.h library in matlab
Mostrar comentarios más antiguos
I have been trying to utilize the levmar-2.6 library of C in matlab but couldn't do it. I was trying to run lmdemo.m but it says
Error in lmdemo (line 19)
[ret, popt, info]=levmar('expfit', 'jacexpfit', p0, x, 200, options, arg);
Can anyone give me a simple example how can i implement C library levmar in matlab to find the optimized parameter value.
Respuestas (1)
Harikrishnan Balachandran Nair
el 3 de Dic. de 2021
0 votos
Hi,
You can refer to the following documentation to learn about directly calling C library functions from Matlab: https://www.mathworks.com/help/matlab/call-c-library-functions.html
Hope this helps!
1 comentario
Shashank Rajput
el 3 de Dic. de 2021
Categorías
Más información sobre Block Libraries en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!