Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Electronics Using different matlab optimization algorithms inside Maxwell Reply To: Using different matlab optimization algorithms inside Maxwell

m.nabil
Subscriber
thanks for your help.
Indeed, I'm aware of this part. But i cannot find how to specify correctly the number of variables [6] and options.
[x,fval,exitflag,output] = particleswarm (wrapperfunc, [6], $ANS_MINVAL, $ANS_MAXVAL, options)
Besides, this is a ready to use matlab optimizer.
But I have a custom made optimizer in matlab and i need to call this optimizer which is not ready function in matlab.
This optimizer should receive the computed objectives from Maxwell and send change to the design parameters in Maxwell.
BR Mohamed
[bingo_chatbox]