Unrecognized function or variable

Hello
I got the "Unrecognized function or variable 'options '" error message, when i run this
parsing = regexp(options, '\-', 'split');
I don't know how I can deal with this error, so can anyone please help me?

1 Comment

What is options? Is it in your workspace? That's how you deal with it - make sure it exists as a variable that you expect regexp to act on in the workspace you are calling the function.

Sign in to comment.

 Accepted Answer

This link will help you.
"options" should be a string veriable i your workspace.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!