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.

Respuestas (1)

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

Productos

Versión

R2016a

Etiquetas

Preguntada:

el 3 de Nov. de 2018

Editada:

el 3 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by