matlab on my desktop does not find a function in the path?
20 views (last 30 days)
Show older comments
I've installed the same version on my desktop and my laptop (R2019b 9.5.0.944444 64bit win64, student) - the laptop version works fine, the desktop version works mostly but does not recognize some functions (eg 'zvect' in a toolbox 'spfirst' for my electronics course) that are clearly in the path. Both paths look identical.
Any suggestion for a fix?
3 Comments
Image Analyst
on 19 Jan 2019
What are the two paths you refer to? One is the search path, which is actually a long collection of a bunch of folders. But what is the other path that is "clearly in the path.", meaning, I guess "clearly in the search path".
What do you get when you type this in the command window?
>> which -all zvect
>> path
Also see Star's suggestion below in case your default path got messed up and your class's toolbox was put into one of the built-in toolbox folders.
What is the path for zvect that you get from using the operating system (rather than MATLAB) to locate the file? Where does it actually truly live?
Also, no one, except at the Mathworks, has R2019b. What is your REAL version? You chose not to list it in the "Release" field when you were filling out your question, for some reason. Edit it to add that.
Accepted Answer
Star Strider
on 19 Jan 2019
My first suggestion for such problems is to run these from a script or from the Command Window:
restoredefaultpath
rehash toolboxcache
If that fails to solve your problem, use the Contact Us link in the upper right corner of this page to request MathWorks Technical Support.
2 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!