MATLAB Answers

how to use exist for a function that begins with an@

2 views (last 30 days)
Leo Simon
Leo Simon on 17 Feb 2018
Commented: Leo Simon on 17 Feb 2018
Following @JanSimon's suggestion in this thread. I've defined a function name that starts with an @. But I'm running third-party code that uses `exist` to check the file-type. Unfortunately, `exist` throws an error in this case. To see the problem type
exist(@humps)
Is there a workaround for this?
  4 Comments
Leo Simon
Leo Simon on 17 Feb 2018
My sincere apologies for several typos. I've edited my previous comment and I believe addressed all of your remarks now, and includes an MWE.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!