Borrar filtros
Borrar filtros

how to store and access the array?

1 visualización (últimos 30 días)
bsd
bsd el 2 de Abr. de 2012
Hai,
I have a set of data or an array of data. I need to store this set of data and access it. I need to access the same set of data when I run different programs. This data is common for all other programs. Is it possible to this in matlab? Looking for your reply.
BSD

Respuesta aceptada

Geoff
Geoff el 2 de Abr. de 2012
There's lots of ways to do this. Here is some useful stuff to read:
Exporting to text data files:
Importing text data files:
  3 comentarios
bsd
bsd el 2 de Abr. de 2012
what is this .dat file and how do I create it?
BSD
Jan
Jan el 2 de Abr. de 2012
@BSD: *You* can define the contents of the .dat file. It is not clear what "set of data" is, how you want to "access" it and what different programs you are talking of.
I suggest to read the documentation about FOPEN, FPRINTF, FWRITE, FSCANF, FREAD and TEXTSCAN.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Low-Level File I/O 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!

Translated by