www.pudn.com > CSharpAndMatlabProgramming.rar > Form1.cs, change:2009-04-29,size:651b


using System; 
using System.Collections.Generic; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Text; 
using System.Windows.Forms; 
 
namespace Matlab 
{ 
    public partial class Form1 : Form 
    { 
        public Form1() 
        { 
            InitializeComponent(); 
        } 
 
        private void Matlab_Click(object sender, EventArgs e) 
        { 
            test.testclass st = new test.testclass(); 
            MathWorks.MATLAB.NET.Arrays.MWArray m , n; 
            m = Convert.ToInt32(text1.Text); 
            n = Convert.ToInt32(text2.Text); 
            st.test(m, n); 
 
        } 
    } 
}