Matlab, Rust.
loadlibrary('../rust/target/debug/matlab_rust_integration_demo.dll', '../rust/bindings.h'); % Initialise the points p1 = libstruct('PointFFI'); p1.x = 12.3; p1.y = 4.56; p2 = libstruct('PointFFI'); p2.x = 7.8; p2.y = 9.0; % Call the distance_between_ffi function result = calllib(libName,