Modifying supplied code from MathWorks (or any source, including me) is generally a dangerous, bad idea. If you can't write it yourself, and don't even know how to modify it, you will surely not be able to make the changes in a safe way. As well, the only possible way to deal with changes made to code provided to users is the rule "You break it, you own it". That is, if you make changes to supplied code, then any future problems with that code are completely your own to resolve, even if they appear not to be directly related to the change you made.
If you think this modification is a good idea, then I'd suggest you put it in as a feature request, directly to MathWorks. They will evaluate the idea and decide if it really does have merit. If so, then they may well add it in a future release, and do so in a stable, safe, and well tested fashion.