MATLAB Answers

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

조회 수: 1(최근 30일)
Ajinkya Sonawane
Ajinkya Sonawane 2021년 1월 5일
답변: Prabhanjan Mentla 2021년 1월 13일
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