Matlab environment
[GridLAB-D Core]


Detailed Description

The Matlab environment is selected by the --environment matlab command line argument, or by setting the global_environment global variable.

When the Matlab environment is selected, Matlab is started and the gridlabd CMEX module is loaded.


Modules

 CMEX module
 The CMEX module gl.dll is created for Matlab users.

Functions

MODULEload_java_module (const char *file, int argc, char *argv[])
MODULEload_python_module (const char *file, int argc, char *argv[])
STATUS matlab_startup (int argc, char *argv)


Function Documentation

MODULE * load_java_module ( const char *  file,
int  argc,
char *  argv[] 
)

Todo:
move java and python modules to their own implementation files (ticket #121)
Parameters:
file  module filename, searches PATH
argc  count of arguments in argv
argv  arguments passed from the command line

Definition at line 29 of file matlab.c.

References output_error().

Referenced by module_load().

MODULE * load_python_module ( const char *  file,
int  argc,
char *  argv[] 
)

Todo:
add support for Python modules (ticket #120)
Parameters:
file  module filename, searches PATH
argc  count of arguments in argv
argv  arguments passed from the command line

Definition at line 37 of file matlab.c.

References output_error().

Referenced by module_load().


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