Please see SASREADDEMO, by following link 'Published m-files' below.
PS. In retrospect, SASREAD gets credit for an inventive approach, but for practical purposes, I would strongly recommend MySQL-mediated data transfer, discussed in 'The Twain Shall Meet: Facilitating Data Exchange between SAS and Matlab' (see link below).
Dimitri Shvorob (2022). Import data from SAS (https://www.mathworks.com/matlabcentral/fileexchange/15835-import-data-from-sas), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!