Error with Global Optimization Toolbox

Hello,
I am unable to run particle swarm optimiztion using the global optimization toolbox. I confirmed that 2022b Global Optimization Toolbox is(has been) installed on my computer. Can you help me fix this error?

7 commentaires

What error message did you receive? Additionally, please check if the file "particleswarm.m" exists.
which particleswarm -all
/MATLAB/toolbox/globaloptim/globaloptim/particleswarm.m
John D'Errico
John D'Errico le 4 Avr 2024
Modifié(e) : John D'Errico le 4 Avr 2024
What does unable mean? Do you get an error? If so, WHAT ERROR! Show the complete error, so everything in red. Would you call your doctor and telling them only you have an unspecified problem, expect them to diagnose your problem over the phone, while telling them nothing more than that? Show how you tried to call that code.
There are infinitely many things you may be doing wrong, even if you do have the code available to you. We cannot gues which of those infinitely many problems you may have encounterd.
Brett Fleisher
Brett Fleisher le 4 Avr 2024
Understood, John. I am using the gQSPsim GUI for simulations. The attached box appears, and I don't get any error messages, but I do get the following warnings when I start gQSPsim
Warning: Adding folders named 'resources' to the path is not supported: \Documents\MATLAB\Add-Ons\Apps\gQSPSim - 2\GUI_Layout_Toolbox\resources
> In path (line 109)
In addpath (line 86)
In appinstall.internal.runapp>preamble18b (line 58)
In appinstall.internal.runapp (line 13)
In matlab.apputil.run (line 45)
Warning: Proper operation of gQSPsim requires long filename support to be enabled.
Long filename support can be enabled with Remove_260_Character_Path_Limit.reg in:
\Documents\MATLAB\Add-Ons\Apps\gQSPSim - 2\utilities
> In QSPapp (line 32)
In startQSP (line 3)
In gQSPSim0x2D2App/startApp (line 84)
In gQSPSim0x2D2App (line 48)
In appinstall.internal.runapp>execute (line 116)
In appinstall.internal.runapp>runapp13a (line 95)
In appinstall.internal.runapp>preamble18b (line 60)
In appinstall.internal.runapp (line 13)
In matlab.apputil.run (line 45)
And I confirm that I have particle swarm:
>> which particleswarm
C:\Program Files\MATLAB\R2022b\toolbox\globaloptim\globaloptim\particleswarm.m
Thank you for your help
Torsten
Torsten le 4 Avr 2024
You should contact Technical Support for help.
Rick Paxson
Rick Paxson le 5 Avr 2024
Hi Brett - let me see if I can help with this issue as I have helped with the development of gQSPSim. I'll try to get back to you today if possible.
Brett Fleisher
Brett Fleisher le 5 Avr 2024
Hi Ricardo, I found the issue- internally we had to move around licenses. Thanks for your help. We can close this thread
Rick Paxson
Rick Paxson le 5 Avr 2024
OK, thanks for letting me know.

Connectez-vous pour commenter.

Réponses (0)

Produits

Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by