Attempt to execute SCRIPT builtin as a function:

3 views (last 30 days)
I recently updated to Matlab R2018a but decided to uninstall Matlab 2017a from my computer to free up space. When I was trying to run an svd I got the error:
_ *'snv' is not found in the current folder or on the MATLAB path, but exists in:
C:\Program Files\MATLAB\R2017b\toolbox\PLS_Toolbox_852
Change the MATLAB current folder or add its folder to the MATLAB path.
Output argument "value" (and maybe others) not assigned during call to "getappdata".
Error in addpath
So I added the folder as suggested. After that I got this error:
>> X=snv(mir_qual_svg)
Attempt to execute SCRIPT isa as a function:
C:\Program Files\MATLAB\R2017b\toolbox\matlab\datatypes\isa.m
Error in snv (line 45)
if isa(x,'char');
Attempt to execute SCRIPT warning as a function:
C:\Program Files\MATLAB\R2017b\toolbox\matlab\lang\warning.m
Error in help
Error in matlab.internal.language.introspective.errorDocCallback*_
And now I cannot do anything. I could seriously use some help.

Answers (2)

per isakson
per isakson on 26 May 2018
Edited: per isakson on 26 May 2018
PLS_Toolbox_852 is the name of a toolbox by Eigenvector Research, Inc. Kind of strange that this toolbox was installed under the Matlab root.
snv is not a documented function of R2018a. What does
which snv -all
return?
Are folders under the Matlab 2017b root still in your search path?
  2 Comments
Stephen23
Stephen23 on 28 May 2018
joannag9999's "Answer" moved here:
Hi,
which snv -all returned: 'snv' not found.
Yes, after sending this I understood that the function I was looking for corresponds to the PLS toolbox. I have gotten Matlab to work correctly again but cannot connect it to PLS toolbox anymore, and therefore use any of its functions like I was previously able to. When I tried to reinstall it using the command "evriinstall" MATLAB returned an error that said this version was too new. I haven't persisted after that.

Sign in to comment.


joannag9999
joannag9999 on 28 May 2018
Thanks Per. I did and they helped me solve the pronlem.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!