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

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

Answers (1)

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

Asked:

on 5 Jan 2021

Answered:

on 13 Jan 2021

Community Treasure Hunt

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

Start Hunting!