How to conduct multiple steps within Matlab using MATLAB.jl?

I have a Matlab table called T1 stored in the file F1. Below is what I’m trying to do using MATLAB.jl, but it does not work. What did I do wrong?

using MATLAB
F1 = "/Path/Test.mat";
@mput F1;
eval_string("load F1;");
eval_string("A = T1;"); 
T0 = horzcat(A.Cruise, A.Station, A.temperature, A.oxygen);
");      @mget T0;

Thank you!


    $u = $x + $y
    $v = $x - $y

see here for more information

1 Like