Unable to run a script

Whenever I try to run a script i get a message that says "the file named (current file name) is not found on the current folder or path. However I most definitely have the file in the current folder and/or path (I've tried both.) Help please I am unable to run any script because this pops up on every one I try.

Answers (1)

Walter Roberson
Walter Roberson on 7 Feb 2012

0 votes

Filenames must start with a letter, which can then be followed by digits, letters, and the underscore character. If you used other characters or did not start with a letter then MATLAB would not be able to find the file.

1 Comment

Will
Will on 7 Feb 2012
Thank you! .....had periods and spaces in the filename...woops

Sign in to comment.

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Products

Asked:

on 7 Feb 2012

Community Treasure Hunt

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

Start Hunting!