mocap
mocap copied to clipboard
Error using fgets when running the command: skel = acclaimReadSkel('examples/86.asf');
When running this command: skel = acclaimReadSkel('examples/86.asf');
I get this error: Error using fgets Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fgetl (line 32) [tline,lt] = fgets(fid);
Error in getline (line 33) lineStr = fgetl(FID);
Error in acclaimReadSkel (line 22) lin = getline(fid);
for every lin = getline(fid);
in the source file of acclaimReadSkel.m,
you should change it tolin = fgetl(fid)
Or make sure ndlutils is in the path ahead of the default getline (bad coding, I know, apologies!)
I’ On Mon, 23 Jul 2018 at 08:50, hanspond [email protected] wrote:
for every lin = getline(fid); in the source file of acclaimReadSkel.m, you should change it tolin = fgetl(fid)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lawrennd/mocap/issues/7#issuecomment-406970844, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIKWn9EyiKXoWVkvrZzCNlzN3TncJmOks5uJYBMgaJpZM4UQCZM .
Or make sure ndlutils is in the path ahead of the default getline (bad coding, I know, apologies!) I’ … On Mon, 23 Jul 2018 at 08:50, hanspond @.***> wrote: for every lin = getline(fid); in the source file of acclaimReadSkel.m, you should change it tolin = fgetl(fid) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#7 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIKWn9EyiKXoWVkvrZzCNlzN3TncJmOks5uJYBMgaJpZM4UQCZM .
Can you please elaborate?