Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using fgets when running the command: skel = acclaimReadSkel('examples/86.asf'); #7

Open
Ammola opened this issue May 28, 2018 · 3 comments

Comments

@Ammola
Copy link

Ammola commented May 28, 2018

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);

@hanspond
Copy link

for every lin = getline(fid); in the source file of acclaimReadSkel.m,
you should change it tolin = fgetl(fid)

@lawrennd
Copy link
Owner

lawrennd commented Jul 23, 2018 via email

@sxaxmz
Copy link

sxaxmz commented Mar 19, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants