Export products of code into a table on Matlab

Hello,
I currently have an If/else statement that prints out different outcomes depending on the condidtions of certain code. I would like to create a function to send these outputs as well as data from the workspace into a table created on matlab. Could anyone give me some tips on how to do this or have an example which I could refer to?
Thanks,
Evan

Answers (1)

Hi Evan.
Kindly have a look at the following examples and workflow's regarding using and saving Tables in Matlab -
https://www.mathworks.com/help/matlab/ref/save.html (Saving variables from the workspace)
Hope it helps!!
Thanks

Categories

Asked:

on 3 May 2021

Answered:

on 6 May 2021

Community Treasure Hunt

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

Start Hunting!