Why does the RUN command return an "inexact match" warning in MATLAB 7.0 (R14) on Windows, even though I have specified the exact path of the file to be executed?

1 view (last 30 days)
I have a file "PrintHello.m" saved in the directory "C:\Folder1" and the directory is not on the MATLAB path. When I use the RUN command as follows:
run C:\Folder1\PrintHello
I receive the following warning the first time I execute the above command:
Warning: Function call printhello invokes inexact match c:\folder1\PrintHello.m.
In run at 62
even though the path is exact.
However, if the above code is executed again, there would be no warning.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This issue has been fixed in MATLAB 7.0.1 (R14SP1), and you no longer see the warning.
If you are using MATLAB 7.0 (R14), there is no workaround.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!