필터 지우기
필터 지우기

Using MATLAB library functions with outside solvers

조회 수: 3 (최근 30일)
Rajni Bansal
Rajni Bansal 2023년 3월 1일
댓글: Rajni Bansal 2023년 3월 9일
Hello all,
Can I build an optimization problem using libraries in MATLAB, e.g. Rainflow from the signal processing toolbox, and call outside solvers like CPLEX/CONOPT in the end of the script to solve it?
Two comments -
  1. Optimization problem: continuous but non-differentiable, so challenging to solve nested optimization problems
  2. The specific Rainflow library is not easily available in other solvers' GUI. Also, outside solvers have their own syntax that doesn't allow any MATLAB inbuilt library call inside it, e.g., calling Rainflow function to build optimization problem.
Does anybody know how to use MATLAB libraries and outside solvers?

답변 (1개)

Supraja
Supraja 2023년 3월 9일
Assuming that you have created your model in Simulink, Simulink does not allow users to use custom solver instead of the ones available in Simulink.
You can follow the guide here to choose the right solver for your model.
  댓글 수: 1
Rajni Bansal
Rajni Bansal 2023년 3월 9일
I am not using Simulink. I wrote my model using optimization and signal processing toolbox.

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

카테고리

Help CenterFile Exchange에서 Vibration Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by