如何在excal同一个单元格内写入换行的内容。

3 visualizaciones (últimos 30 días)
lesiken
lesiken el 14 de Mayo de 2023
Respondida: tchoyae el 14 de Mayo de 2023
如题,想在excal同一个单元格内写入换行的内容例如:
尝试使用换行符,但不太好使
value=['0x1','\n','0x2'];
a={value};
xlswrite('www.xlsx',a);

Respuesta aceptada

tchoyae
tchoyae el 14 de Mayo de 2023
value={['0x1',char(10),'0x2']};
xlswrite('www.xlsx',value);

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!