If you can get data from other program and export into file (for example, excel file), you can read this kind of file in matlab. Just use xlsread function. If you cannot export into file, you need to use processes exchange technique. However, we need to know how program will export data to read. If you just want to call program to run it, you can follow this https://www.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html
If you can get data from other program and export into file (for example, excel file), you can read this kind of file in matlab. Just use xlsread function. If you cannot export into file, you need to use processes exchange technique. However, we need to know how program will export data to read. If you just want to call program to run it, you can follow this https://www.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html