Need help on how to CREATE a text file in matlab?

Respuestas (2)

Star Strider
Star Strider el 2 de Oct. de 2023

0 votos

Do I use fopen or table function?
It depends on what you want to do. If you have a numeric array with column text headings, use table and then writetable to create the file. If youu have a matrix, the writematrix function may be more appropriate. If you have a cell array, use writecell.

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Oct. de 2023

Respondida:

el 2 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by