I have created .exe file in matlab but i want it to use it in C# form.What is the code to do this??plzz help

Following are two ways to run an .exe file in c# form try any of these I thnk it will help you :)

System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = "D:\\Projects\\PROJECT\\bin\\Debug\\PROJECT.exe";
Proc.Start();

OR

System.Diagnostics.Process.Start(@"D:\Projects\PROJECT\bin\Debug\PROJECT.exe");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.