Main Content

Set Up and Copy Run-Time Libraries

Use the copyRuntimeDependencies function to copy dependent libraries to the run-time path so that you do not have to set environment variables. This function helps collect the necessary files for distributing to end users.

The clibPublishInterfaceWorkflow script calls this function in the Set up and copy run-time libraries section. Alternatively, call the function after you build a MATLAB® interface to a C++ library file using the clibgen.generateLibraryDefinition or clibgen.buildInterface functions.

See Also

Related Topics