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

2 次查看(过去 30 天)
I have data in workspace
suppose
how to save this workspace data in excel with "A=1" (in same cell) format

回答(1 个)

Prabhanjan Mentla
Prabhanjan Mentla 2021-1-13
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.

Community Treasure Hunt

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

Start Hunting!

Translated by