core/matlab.c

Go to the documentation of this file.
00001 
00014 #include <stdlib.h>
00015 
00016 #include "globals.h"
00017 #include "output.h"
00018 #include "class.h"
00019 #include "object.h"
00020 
00021 STATUS matlab_startup(int argc, char *argv)
00022 {
00023     if (system("matlab -r gl")==0)
00024         return SUCCESS;
00025     else
00026         return FAILED;
00027 }
00028 
00029 MODULE *load_java_module(const char *file, 
00030                                       int argc, 
00031                                       char *argv[]) 
00032 {
00033     output_error("support for Java modules is implemented somewhere else ~ please review the documentation");
00034     return NULL;
00035 }
00036 
00037 MODULE *load_python_module(const char *file, 
00038                                       int argc, 
00039                                       char *argv[]) 
00040 {
00042     output_error("support for Python modules is not implemented yet");
00043     return NULL;
00044 }
00045 

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy