Exemple6.java

Go to the documentation of this file.
00001 import javasci.* ; 
00002 
00003 
00004 class  Exemple6 {
00005 
00006   public static void main(String[] args) {
00007   double b;
00008         
00009         SciDouble a = new SciDouble("A");
00010         Scilab.Exec("A=4;");
00011         a.Get();
00012         System.out.println("----------------------------------------------------");
00013         a.disp();
00014         System.out.println("----------------------------------------------------");
00015         b=a.getData();
00016         
00017         System.out.println(b);
00018     
00019         System.out.println("----------------------------------------------------");
00020           SciDouble d = new SciDouble("D",8);
00021     d.Send();
00022     Scilab.Exec("P=D*2;");
00023     Scilab.Exec("Q=P*3;");
00024     
00025     SciDouble q = new SciDouble("Q");
00026     Scilab.Exec("Q=P*3;");
00027     q.Get();
00028     q.disp();
00029     System.out.println("----------------------------------------------------");
00030     Scilab.Finish();
00031   }
00032 }
00033 

Generated on Sun Mar 4 15:03:58 2007 for Scilab [trunk] by  doxygen 1.5.1