00001 #ifndef Se_Matlab_Included 00002 #define Se_Matlab_Included 00003 00004 #include "engine.h" 00005 00006 #include "se_string.h" 00007 00008 namespace Se{ 00009 00010 //declarations 00011 00012 class Matlab{ 00013 00014 static const int Output_Buffer_Size=2000; 00015 00016 Engine *my_engine; 00017 char output_buffer[Output_Buffer_Size]; 00018 00019 public: 00020 //constructors 00021 Matlab(); 00022 ~Matlab(); 00023 00024 //destructor 00025 00026 //reset 00027 00028 //equals 00029 00030 //set 00031 00032 //get 00033 00034 //display 00035 00036 //operators 00037 00038 //misc 00039 void start(); 00040 void close(); 00041 void print(); 00042 void put_variable(String name,double *data,int size); 00043 void put_command(String name); 00044 void take_variable(String name,double **data,int *size); 00045 00046 //friends 00047 00048 }; 00049 00050 //string operator 00051 00052 //other operators 00053 00054 } 00055 #endif
1.2.18