Problem with editor search in R2016b
Show older comments
I switched to R2016b last month when I got a new Windows 10 Pro machine, and have noticed a problem with the editor search function that may or may not be related. If I use Ctrl+F in the Editor window to search for a phrase that includes punctuation, such as
polyfit(
it returns no hits, even though the following search does,
polyfit
Similarly no hits for the following string which is in the .m file,
.Properties.UserData.
But it can find
Properties
The problem seems to be inconsistent (sometimes I can search for strings containing periods or spaces, sometimes I can't, for example). Any ideas how to fix this?
7 Comments
Walter Roberson
on 2 Mar 2017
Which operating system are you using?
Prannay Jain
on 6 Mar 2017
Are you talking about the Find functionality (Ctrl+F) in the Navigate area under Editor tab?
Walter Roberson
on 8 Mar 2017
Edited: Walter Roberson
on 8 Mar 2017
I just tested in Windows 10 with R2016b, and I do not observe this.
Question: is it possible that you are using UTF-8 encoded .m files? Is your system's Region set to something other than English? Do you have some characters in your .m file that do not fit within the usual English character set, char(32) to char(126) ?
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!