how to store and access the array?

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

 채택된 답변

Geoff
Geoff 2012년 4월 2일

0 개 추천

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

Andrei Bobrov
Andrei Bobrov 2012년 4월 2일
Hi Geoff! I agree with you, deleted my answer.
bsd
bsd 2012년 4월 2일
what is this .dat file and how do I create it?
BSD
Jan
Jan 2012년 4월 2일
@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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

질문:

bsd
2012년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by