MATLAB: How would you check diagonally on a wordsearch

2arrayschardiagonaldimensionalwordsearch

Hello, I am trying to create a function that will find given words in a pre-loaded wordsearch. I have already done checks for words that are left-to-right, right-to-left, top-to-bottom, and bottom-to-top, however I need to do a check for words that are diagonal. I have been trying to come up with my own algorithm for this problem, but it has proven to be quite the adversary. Also, when a word is found, I am to return the row and column of the first letter of the word. I tried using ind2sub but I was getting a value that didn't make any sense. Thank you for any help!
Some information about the wordsearch: It is a 15×15 2 dimensional array filled with characters (letters)