How do I convert output file (.exec) to .mat file?

Hi,
I have ran my matlab .m file in server computer and I got a result as .exec file.
Only I can get from server computer is .exec file and I can check this file with text editor.
If I run the code below in server computer,
A = rand(4)
b = rand(4,1)
x = A*b
N = norm(x,2)
then I get a text like below.
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018a (9.4.0.813654) 64-bit (glnxa64)
February 23, 2018
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
A =
0.8147 0.6324 0.9575 0.9572
0.9058 0.0975 0.9649 0.4854
0.1270 0.2785 0.1576 0.8003
0.9134 0.5469 0.9706 0.1419
b =
0.4218
0.9157
0.7922
0.9595
x =
2.5996
1.7015
1.2013
1.7911
N =
3.7821
I want to save all variables into .mat file to plot results in Matlab.
I have searched how to convert text file into .mat file, but my .exec file has multiple variables and they have different sizes.
Is there any document I can check or way to convert it?
Thanks,
Taewon

 Accepted Answer

Don't bother. Just run "save MyMatFile" on your server computer.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 4 Feb 2019

Commented:

on 4 Feb 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!