matlab save as variable code example Example: save table matlab writetable(T,'myData.csv','Delimiter',',','QuoteStrings',true) type 'myData.csv'