Use .mat file as input argument in a function.
8 views (last 30 days)
Siddharth Bhutiya on 5 Apr 2022
If you look at the value of K in your screenshot you will notice that it is a struct and one of the fields would be the table you are looking for (the name would be the name that you used while creating the MAT file). Once you figure out the name you can use the dot syntax to pass that as input to another function.
>> K = load("data.mat")
struct with fields:
myTable: [4×4 table]