<< dlgenerategateway Dynamic link dlgeneratemake >>

dlgenerateloader


Generates loader.m file for C++ gateway.


Syntax


dlgenerateloader(destinationdir, libraryname)

Input argument


destinationdir

a string: destination directory where is generated the loader.m file.

libraryname

a string or a cell of string: external dynamic library names.

Description


dlgenerateloader generates a 'loader.m' load external dynamic libraries.

Example


See module skeleton for example

dlgenerateloader(tempdir(), {'c_dynamic_library_1',  'c_dynamic_library_2'});
text = fileread([tempdir(), 'loader.m'])

See also


dlgenerateunloader, dlgenerategateway.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< dlgenerategateway Dynamic link dlgeneratemake >>