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

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 2024년 4월 4일
편집: John D'Errico 2024년 4월 4일
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.
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 2024년 4월 4일
You should contact Technical Support for help.
Rick Paxson
Rick Paxson 2024년 4월 5일
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.
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 2024년 4월 5일
OK, thanks for letting me know.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

제품

릴리스

R2022b

질문:

2024년 4월 4일

댓글:

2024년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by