www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/LoadAndUnloadShrlibsampleLibraryExample.m
%% Load and Unload shrlibsample Library %% % Add the |shrlib| examples folder to the path. addpath(fullfile(matlabroot,'extern','examples','shrlib')) %% % Load the library, if it is not already loaded. if ~libisloaded('shrlibsample') loadlibrary('shrlibsample') end %% % When finished, unload the library to free memory. unloadlibrary shrlibsample