Unrecognized function or variable 'snopt'. Error in Untitledidk (line 362) [x, f, inform, xmul, fmul] = snopt(xg, xlwr, xupr, xmul, xstate, ... What is this function
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
% bounds on v-infinity matching (equality) constraint
flow(3) = 0.0;
fupp(3) = 0.0;
flow = flow';
fupp = fupp';
xmul = zeros(3, 1);
xstate = zeros(3, 1);
fmul = zeros(3, 1);
fstate = zeros(3, 1);
% use snopt to find optimal solution
[x, f, inform, xmul, fmul] = snopt(xg, xlwr, xupr, xmul, xstate, ...
    flow, fupp, fmul, fstate, 'fbyfunc');
댓글 수: 0
답변 (1개)
  G A
      
 2021년 9월 3일
        https://github.com/snopt/snopt-matlab
Matlab interface for sparse nonlinear optimization software SNOPT.
Requires the SNOPT software package.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Statics and Dynamics에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

