10-25-2012 08:21 AM
Hello ALL,
I used Matlab code for preform calculus and i will tried to convert this code under Labview. However, the function is not supporting on real time Labview...
What is the procedure for build a dll of fminsearch.
Thanks
10-25-2012 01:14 PM
I am not sure why you posted this in the mathscript forum, unless you actually want to use mathscript for this (which runs on real time systems)
fminsearch is the legacy name of fmin_pattern. Have you tried it?
10-26-2012
03:45 AM
- last edited on
01-24-2025
05:04 PM
by
Content Cleaner
Hello,
Mathscript RT is for using .m file in LabVIEW. If you want to know how to create a DLL from Matlab, you'd better ask on Mathworks forum.
Regards,
Mathieu P. | Certified LabVIEW Associate Developer
National Instruments France
10-26-2012 03:54 AM
Thank you for your reply.
I tried fmin_pattern as well, i configure mathscript perfectly with the direct folders, but the different function include inside fmin_pattern are not supported...
I precise the direct folders of Matlab, I load under Mathscript fmin_pattern, to convert matlab script into labview script. I think i tried all solution... I read on the Ni forum
that somebody convert this function in a dll.. But i don't know how ?
My Matlab .m are loud and only this part of code is allready blocked..
Thank you
10-26-2012 10:50 AM
@Arthurius wrote:
My Matlab .m are loud and only this part of code is allready blocked..
What does this sentence mean?
10-24-2015 04:18 PM
I'm trying to port some code from Matlab to MathScript. Matlab code uses "fminsearch." Mathscript replaced with "fmin_pattern." I don't see any place to pass other variables with this function. It can be done in " fminsearch." That's one issue. The other is when I tried the example code shown on the bottom of the "fmin_pattern (MathScript RT Module Function) page on zone.ni.com, I get an error with "function f = myfun(x)." Why doesn't NI's example code work?