예제 #1
0
 public object[] executeFilter(TaskDimensions task, String[] job_list, String path, double[,] my_ratings, double[,] Y, double[,] R, double[,] X)
 {
     try
     {
         IMatlabSvc svc = (IMatlabSvc)this.getService(typeof(IMatlabSvc).Name);
         return(svc.executeFilter(task, job_list, path, my_ratings, Y, R, X));
     }
     catch (ServiceLoadException ex)
     {
         return(null);
     }
 }
예제 #2
0
 public bool changeDirectory(String path)
 {
     try
     {
         IMatlabSvc svc = (IMatlabSvc)this.getService(typeof(IMatlabSvc).Name);
         return(svc.changeDirectory(path));
     }
     catch (ServiceLoadException ex)
     {
         return(false);
     }
 }