grammar and spelling check

Version (6.09 KB) by Rik
Check spelling and grammar of comments
Updated 4 Apr 2017

View License

If you need to hand in your code, or want to publish your code somewhere, you might want to check spelling and grammar of your comments. Copy-pasting is less than ideal, because the code makes it easy to miss real errors.
This script will split your code into two file: a code part and a comment part. The latter is renamed to a .txt so you can open it in your favorite editor. After you have checked the files for errors, it puts the two parts back together again.
This script should work on all Matlab releases and on Octave.

Cite As

Rik (2024). grammar and spelling check (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Programming in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Submission title edited.