How to save workspace data in excel with Variable and number in same cell

7 views (last 30 days)
I have data in workspace
suppose
how to save this workspace data in excel with "A=1" (in same cell) format

Answers (1)

Prabhanjan Mentla
Prabhanjan Mentla on 13 Jan 2021
Hi,
You may follow the below steps to achieve
  • You may get the variable name using getname.
  • You may get variables and values and convert them into string using this link and form cell array.
  • You may write into excel with the help of this link.
Hope this helps.

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!