document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using twice;
  6. using MathWorks.MATLAB.NET.Arrays;
  7. using MathWorks.MATLAB.NET.Utility;
  8.  
  9.  
  10. namespace MatlabToCsharpDotNetLibSample
  11. {
  12.     class Program
  13.     {
  14.         static void Main(string[] args)
  15.         {
  16.  
  17.             int i = 5;
  18.             Twice c = new Twice();
  19.             MWArray result = c.twice((MWArray)i);
  20.             System.Console.WriteLine(Convert.ToInt16(result.ToString()) + 5);
  21.             System.Console.ReadKey();
  22.  
  23.         }
  24.     }
  25. }
');