Skip to content

Commit

Permalink
Refactor to use octaveMex and dynamic DLL loading
Browse files Browse the repository at this point in the history
Refactored code to replace matlabMex with octaveMex function names.
Updated Initialize function to dynamically load libmexlibczi.dll
from the same directory as the MEX file. Added IsDynamicLibraryLoaded
function to check if the library and its functions are loaded
successfully. Updated mexFunction to initialize the library only
once and check if the dynamic library is loaded before proceeding.
Removed old and commented-out code. Updated g_appExtensionFunctions
struct to use new octaveMex function names. Added error handling
to ensure appropriate error messages are displayed if the library
fails to load.
  • Loading branch information
ptahmose committed Oct 15, 2024
1 parent 569cf74 commit 9cf2a46
Showing 1 changed file with 127 additions and 103 deletions.
Loading

0 comments on commit 9cf2a46

Please sign in to comment.