Write text to excel file including variable

I want to write "dp= 30'pitch diameter" in the A1 cell of the excel file named peq.xls, where 30 is the variable.

Risposte (1)

madhan ravi
madhan ravi il 3 Nov 2018
Modificato: madhan ravi il 3 Nov 2018
TRY:
dp = 30
t=table(dp,'RowNames',{'pitch diameter'})
writetable(t,'peq.xls')

Prodotti

Release

R2016a

Modificato:

il 3 Nov 2018

Community Treasure Hunt

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

Start Hunting!

Translated by