MATLAB Answers

0

Why this error of a function that is not found in the current directory?

Asked by Stelios Fanourakis on 17 May 2018
Latest activity Commented on by Stelios Fanourakis on 18 May 2018

I get this error line "'DicomReader' is not found in the current folder or on the MATLAB path, but exists in:

C:\Users\f028368h\Downloads
C:\Echo Images\Stelios\Test
C:\Echo Images\Stelios
C:\Users\f028368h\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads
Change the MATLAB current folder or add its folder to the MATLAB path.
Error in fresh>Load_image_Callback (line 142)"

DicomReader function exist in the current directory. I don't understand why MATLAB cannot find it. Any idea?

  8 Comments

@Stelios: If you share the solution with the forum, other readers can profit from this also. This is the nature of this forum.

@Jan, I really do not remember what I did and worked. I suppose it was a syntax error or order error, maybe misspelling. If I find I'll post it.

Sign in to comment.

0 Answers