The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 global Fitting with dll generated by matlab
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

yulisunflower

USA
Posts

Posted - 09/21/2010 :  5:57:42 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 7.5
Operating System: Windows Vista

Hi,

The curves I am trying to fit need a function to solve a system of nonlinear equations. I wrote a matlab program for that purpose. Then I compiled the matlab function into a dll file and try to call the dll from Origin C. I started with a simple function y=a*x+b and try to figure out how to make it work. It seems that just include the dll in the origin folder didn't work. I am asking if anyone else has similar experience and know the trick. Thanks a lot.

Best
Yu

Penn

China
644 Posts

Posted - 09/25/2010 :  04:15:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Yu,

You can refer to this online help. However, the opx mentioned in the online help is not available in Origin 7.5. If you are interested, please download a free demo version from this page to have a try.

Though the help is not for Origin 7.5, the principle about how to use a fitting function defined in external DLLs is almost the same. You can use the Advanced Fitting Tool (menu Analysis> Non-linear Curve Fit> Advanced Fitting Tool) to have a try after you have tried the example in the demo version of Origin 8.1.

Penn
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000