How to update the text field from the loaded excel file in MATLAB?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
KenL
el 3 de Oct. de 2016
Comentada: KenL
el 3 de Oct. de 2016
I encountered a problem to update the text field from the loaded excel file in MATLAB.
0 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Oct. de 2016
[num, txt, raw] = xlsread('TheFilename.xlsx');
raw{7,11} = 'Some New String'; %update the location in memory
xlswrite('TheFilename.xlsx', raw) %store everything back
OR,
newcontent = 'Some New String';
xlswrite('TheFilename.xlsx', newcontent, 'K7:K7'); %update only the one location
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!