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

如题,想在excal同一个单元格内写入换行的内容例如:
尝试使用换行符,但不太好使
value=['0x1','\n','0x2'];
a={value};
xlswrite('www.xlsx',a);

 Akzeptierte Antwort

tchoyae
tchoyae am 14 Mai 2023

0 Stimmen

value={['0x1',char(10),'0x2']};
xlswrite('www.xlsx',value);

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB 快速入门 finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 14 Mai 2023

Beantwortet:

am 14 Mai 2023

Community Treasure Hunt

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

Start Hunting!