Print
What happens if you put SPM in your matlab path? Usually for me that's enough to make the warning disappear.