When working from home, why do I get error message of undefined function or license error?

When calling a MATLAB function, I get error message of undefined function or license error. However, as ver results show, I have already installed the toolbox product and I can find the .m file in the correct matlabroot folder.

Direct link to this answer

For working from home, when you are using a floating license, it might be a license issue due to sluggish network. To determine, retrieve the network license manager log file, which should be located in:

This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.