Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

matlab

Status
Not open for further replies.

rev

Mechanical
Joined
Oct 18, 2001
Messages
1
Location
DK
i need that one of the function in matlab will accept as a parameter a text file (an output from a c program) and process it, there is a way to do it?
 
Hi,
The file management in Matlab is quit similar to C. Type at the workspace prompt:
>> help fopen
>> help fread
>> help fwrite
>>help fprintf
>>help fseek
>>help fgets
>> help ftell
and use it e.g.
new_file='myfile';
fid=fopen(new_file,'r');
Then visit my web-site
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top