Effacer les filtres
Effacer les filtres

problem in install add on m.file for solidworks simmechanics link

2 vues (au cours des 30 derniers jours)
farzad
farzad le 16 Fév 2014
hi all i need to install add on m.file for solidworks simmechanics link , but when i donwloaded the m.file , for matlab r2013 w64 it came with the error in the first lines after checking java , there is another line for checking nargin , the arguments and say :
% check args
if (nargin ~= 1)
error('Usage: install_addon <addon_zip_file>')
end
and for this part the matlab gives me the error :
Error using install_addon (line 15)
Usage: install_addon <addon_zip_file>
what's the problem ?

Réponse acceptée

Jan
Jan le 18 Fév 2014
The message tells you, that the function install_addon was called with either none or more than one input argument. Please post the complete error message, which should contain the calling command also.
A bold guess is, that you have a space in the path of the ZIP file, then try:
install_addon('<addon_zip_file>')
with the parts inside > and < replaced accordingly.
  2 commentaires
iyad salameh
iyad salameh le 29 Juin 2015
Modifié(e) : Walter Roberson le 14 Jan 2016
this is the error i get
Error using install_addon (line 15)
Usage: install_addon <addon_zip_file>
Error in run (line 64)
evalin('caller', [script ';']);
Steven Lord
Steven Lord le 29 Juin 2015
Show the EXACT, FULL command you typed that caused that error to display. Jan and I think you typed this:
install_addon
or something like this, where "c:\temp\path with spaces\addon_zip_file.zip" is the location of the ZIP file and that location contains spaces.
install_addon c:\temp\path with spaces\addon_zip_file.zip

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simscape Multibody dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by