Attempt to execute SCRIPT builtin as a function:

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.

Antworten (2)

per isakson
per isakson am 26 Mai 2018
Bearbeitet: per isakson am 26 Mai 2018

0 Stimmen

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 Kommentare

Stephen23
Stephen23 am 28 Mai 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.
You might want to contact the support of Eigenvector Research, Inc

Melden Sie sich an, um zu kommentieren.

joannag9999
joannag9999 am 28 Mai 2018

0 Stimmen

Thanks Per. I did and they helped me solve the pronlem.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Gefragt:

am 26 Mai 2018

Beantwortet:

am 28 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by