File Exchange

image thumbnail


version (1.81 KB) by Fahad Al Mahmood
This function checks the spelling of a word and returns suggestions if misspelled.


Updated 12 Jul 2004

View License

[status,suggestions] = spellcheck(text);
status = spellcheck(text);

[status,suggestions] = spellcheck('Hellow');
status = spellcheck('Emirates');

Cite As

Fahad Al Mahmood (2021). spellcheck (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

zmi zmi

Andrea H

Is it possible to set another language to check? (E.g., German?)


Useful, for example in wordreport


Michael Kleder

Very nice. I can see how this could be useful in excluding user passwords that are in the dictionary, for example.

I would suggest adding an explanation of what the returned status value means. It looks like a status of -1 means that the submitted text is in the dictionary, and a status of 0 means that it is not.

Also, since invoking MS Word's spellchecker under ActiveX requires a good bit of execution time, it would be nice to be able to input and check several words at once while the invokation is open.

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: dictionary, Text Twist Puzzle Solver

Community Treasure Hunt

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

Start Hunting!