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 (https://www.mathworks.com/matlabcentral/fileexchange/62409-grammar-and-spelling-check), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Submission title edited. |