Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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
Oct 18, 2001
1
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?
 
Replies continue below

Recommended for you

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