Attempt to execute SCRIPT builtin as a function:

6 visualizzazioni (ultimi 30 giorni)
joannag9999
joannag9999 il 26 Mag 2018
Risposto: joannag9999 il 28 Mag 2018
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.

Risposte (2)

per isakson
per isakson il 26 Mag 2018
Modificato: per isakson il 26 Mag 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 Commenti
Stephen23
Stephen23 il 28 Mag 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.

Accedi per commentare.


joannag9999
joannag9999 il 28 Mag 2018
Thanks Per. I did and they helped me solve the pronlem.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by