Is there a way to get rid of all the ";" in the script?

1 view (last 30 days)
If you know there is an easy way to get rid of all the ";" in a script, please let me know. Thank you.
  1 Comment
Stephen23
Stephen23 on 13 Aug 2017
If you only want to replace ; at the end of the line (and not in matrix definitions, etc), then use Notepad++ and its the regular expression find-and-replace with ;$ as the search pattern.

Sign in to comment.

Answers (1)

the cyclist
the cyclist on 13 Aug 2017
Assuming you are using the MATLAB editor, type ctrl-f or cmd-f (depending on platform) to open the find & replace window.

Tags

Community Treasure Hunt

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

Start Hunting!