How can I interface MATLAB with the statistical package SAS?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 30 May 2013
Edited: MathWorks Support Team
on 26 Dec 2022
I want to exchange data between MATLAB and SAS.
Accepted Answer
MathWorks Support Team
on 26 Dec 2022
Edited: MathWorks Support Team
on 26 Dec 2022
You can interface with SAS by using MATLAB as an Automation Client. Our documentation does not provide specific examples of interfacing with SAS. However, there is an example of interfacing with MS Excel located at the following URLs:
The following is a link to the general documentation on COM Support:
Refer to the SAS documentation for specific information about its Automation Server functionality and capabilities.
There are two files in MATLAB File Exchange that import/export Data to SAS using xlsread, actxserver and some Excel Macros:
https://www.mathworks.com/matlabcentral/fileexchange/15835-import-data-from-sas - Import Data from SAS
https://www.mathworks.com/matlabcentral/fileexchange/15834-export-data-to-sas - Export Data to SAS
It is also possible to interface with SAS through a database, as detailed in the following MATLAB File Exchange submission:
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.
0 Comments
More Answers (0)
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!