Either no documentation exists (or I cannot find it) on how to use regular expressions in Edit Find / Replace. Does anyone know where that is for Matlab? If it is not available, does anyone have a workaround for doing regular expression Find / Replace in MATLAB program files in the editor?

답변 (1개)

John D'Errico
John D'Errico 2017년 11월 1일

0 개 추천

Sorry, but Answers is not a place to put enhancement requests. If you have an idea, then send it directly to MathWorks. Click on the " Contact Us " link on the top right of your browser page.

댓글 수: 2

Jonathan Parsons
Jonathan Parsons 2018년 12월 3일
편집: Jonathan Parsons 2018년 12월 3일
I have this question, too, and just came across this post. I read the OP's post a few times and cannot see an explicit enhancement request (although the desire for regular-expression find and replace is obviously there). The OP was asking whether or not such a feature already exists and, if not (I take it from your answer that it does not), if anyone could suggest a workaround. Any suggestions?
Hans
Hans 2024년 12월 9일
If you are working on a Linux system, just use terminal commands like 'grep' or 'ack' for search and 'sed' for search replace. IMHO this is faster for such operations.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기

제품

질문:

2017년 11월 1일

댓글:

2024년 12월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by