Matlab, Rust.
'distance_between_ffi', p1, p2); % Unload the library clear p1 p2 unloadlibrary(libName); end We use the libstruct function to initialise instances of our FFI type, then call the function as before. One important thing to note is that we cannot unload the library while objects of types defined in