problem to install IQC toolbox

13 次查看(过去 30 天)
Sharara
Sharara 2024-6-13
回答: Samay Sagar 2024-8-21,3:58
Hi everyone
I tried to install IQCtoolbox with several methods provided by available sources, but none worked well.
I got errors that are not clear.
I followed all the provided steps by
https://iqctoolbox.github.io/iqcToolbox/getting_started.html
I tried using web save, add-on, direct download,
while I type:
installIqcToolbox
it asked me to install YALMIP, I pressed y then asked to install LPSOLVE 5.5 I pressed y, then asked to install SDPT3 I pressed y but returned the error:
>> installIqcToolbox
yalmip is not detected on your system and must be installed. Do you wish to install? ['y'/'n']
y
Installing from the fork YALMIP, Copyright (c) 2012-2021 by Johan Löfberg
y
lpsolve is not detected on your system and must be installed. Do you wish to install? ['y'/'n']
Installing LPSOLVE 5.5, Copyright (c) 2004 - 2021 by M. Berkelaar, K. Eikland, and P. Notebaert
MEX configured to use 'Xcode with Clang' for C language compilation.
SDPT3 is not detected on your system and must be installed. Do you wish to install? ['y'/'n']
y
Installing SDPT3, Copyright (c) 1997 by Kim-Chuan Toh, Michael J. Todd, and Reha H. Tutuncu
Warning: Directory already exists.
> In installIqcToolbox (line 246)
Error using assert
iqcToolbox has not been correctly installed, run installIqcToolbox first
Error in initializeIqcToolbox (line 27)
assert(install_complete,...
Error in installIqcToolbox (line 254)
initializeIqcToolbox
any help is highly appreciated,

回答(1 个)

Samay Sagar
Samay Sagar 2024-8-21,3:58
Hi Sharara,
I understand that you are facing issues while installing the IQC toolbox. I had installed the same without any errors. The warning about an existing directory suggests that some parts of the toolbox (SDPT3 in this case) might already be installed. Ensure that previous installations are completely removed before attempting a fresh installation.
Before running the installation script again, clear MATLAB’s path cache by running the following command in the MATLAB command window:
rehash toolboxcache
If the issue persists, you can consider debugging the installation script by setting up breakpoints in the code or update to the latest version of MATLAB.
For more information about “rehash” and debugging, you can refer the following documentation:
Hope this helps!

标签

Community Treasure Hunt

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

Start Hunting!

Translated by