Could you specify exactly the commands you are using. Are you trying to open a file in binary mode? If so, you must use fopen(fname,'rb'), just like in C.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1686109
Originator: NO
The following worked fine on my machine (make sure you have the latest version of the software installed).
(Current directory is %CHAINLINK_DIR%)
>> fclose(F);
>> F=fopen('Readme.txt','r');
>> for j=1:10 str=fgets(F); disp(str); end; fclose(F);
- Jeremy Magland
Logged In: YES
user_id=1686109
Originator: NO
The following worked fine on my machine (make sure you have the latest version of the software installed).
(Current directory is %CHAINLINK_DIR%)
>> fclose(F);
>> F=fopen('Readme.txt','r');
>> for j=1:10 str=fgets(F); disp(str); end; fclose(F);
- Jeremy Magland
Logged In: YES
user_id=1685839
Originator: YES
thanks for your information
it works fine with that code...
you do a very good work
Logged In: YES
user_id=1686109
Originator: NO
Could you specify exactly the commands you are using. Are you trying to open a file in binary mode? If so, you must use fopen(fname,'rb'), just like in C.