fscanf problems

26 views
Skip to first unread message

DiamondSmuggler

unread,
Oct 27, 2009, 3:00:02 PM10/27/09
to freemat
Hello,

I have recently installed FreeMat 4.0 and I was running some of my old
code and my functions with fscanf() froze FreeMat. I then added a
size argument:

--> fp = fopen('BB_pedal.txt','r');
--> [a,b] = fscanf(fp,'%s',[2 inf]);
Error: fscanf takes two arguments, the file handle and the format
string

Any ideas of what I am doing wrong?

Thanks.


Cheers,

Karl
Reply all
Reply to author
Forward
0 new messages