Click here to Skip to main content
15,911,360 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
I want to draw some statistics charts in C#.

Because the formulas are too complicated, I wrote them as functions and formulas in "Matlab software". Now, I want to calculate the values of these charts from functions and formulas which are written in "Matlab software". Is it possible? How? Can I convert the functions and formulas in "Matlab" to .dll and after that i use them? If yes, how?

Please help me.
Regards
Posted
Updated 31-Jul-11 21:27pm
v4

1 solution

Did you lean integration of Mathlab with C#? See http://www.mathworks.com/matlabcentral/fileexchange/12987-integrating-matlab-with-c[^].

—SA
 
Share this answer
 
Comments
Amund Gjersøe 1-Aug-11 3:43am    
My 5 for bothering to give a "Let me google that for you"-answer.

I've done them all. And they are explained in the link. My additions are: Builder NE has a license-fee, and a slight performance impact. The un-managed lets you use the same dll in Matlab and C/C++ (and then wrapped: .NET), and the for-loops gets a boost when extracting them from the Matlab-script to the dll (mex).

The automationserver gives flexibility. This solution is usable when the user of the application is familiar with Matlab as well.
k5_ce 1-Aug-11 23:48pm    
Thanks for both of you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900