How to save uint8 workspace data
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, does anyone know how to save a uint8 workspace data to a external file, preferably text or binary file. I tried using : save zipped.txt zipped -ascii, but command window displayed Warning: Attempt to write an unsupported data type to an ASCII file. Variable 'zipped' not written to file.
0 comentarios
Respuestas (2)
Shashank Prasanna
el 27 de Jun. de 2013
Editada: Shashank Prasanna
el 27 de Jun. de 2013
0 comentarios
Walter Roberson
el 27 de Jun. de 2013
What representation do you need in the output file? If you want the value as simple text numbers, double() the uint8 data and save the double()'d value. Or use dlmwrite or fopen() / fprintf() / fclose() with the original uint8 data. If you want binary output, fopen() / fwrite() / fclose()
0 comentarios
Ver también
Categorías
Más información sobre Text Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!