I have prepared a simple matlab code and deployed it by means of deployment procedure in matlab in ".Net assembly" type (for use in C#.net 2010). The output Dll file of matlab was named "main". But that error occurs. I have added references.
What I really want is to define variables and give values to them in C# environment, calculate the outputs in Matlab Dll file, and finally show the results in C#.
public partial class form1.form
public static extern int main (int a, int b);
private void button1_click(object sender, EventArgs e)
Edited 7-Oct-12 2:00am
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)