SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How to call a MATLAB procedure in SAS environment? I think this is a very interesting problem. Can you help me to solve it out. Thanks a lot !
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
The only way I know to do it is fairly circuitous. Use the "X" command to shell out to the operating system, run Matlab in batch, and then save the results, and finally read those results back into SAS.

Not pretty, but it will work if Matlab supports batch processing.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1404 views
  • 0 likes
  • 2 in conversation