Matlab environment


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

MODULE * load_java_module (const char *file, int argc, char *argv[])
MODULE * load_python_module (const char *file, 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 30 of file matlab.c.

References output_error().

Referenced by module_load().

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

Parameters:
file  module filename, searches PATH
argc  count of arguments in argv
argv  arguments passed from the command line

Definition at line 38 of file matlab.c.

References output_error().

Referenced by module_load().


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