Problem with editor search in R2016b
显示 更早的评论
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 个评论
Walter Roberson
2017-3-2
Which operating system are you using?
Prannay Jain
2017-3-6
Are you talking about the Find functionality (Ctrl+F) in the Navigate area under Editor tab?
Walter Roberson
2017-3-8
编辑:Walter Roberson
2017-3-8
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) ?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!