• 大小: 22.95MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-28
  • 语言: 其他
  • 标签: matcont  

资源简介

计算非线性系统稳定性,hopf分叉之类非常好的工具箱。这是最新版的,添加了很多功能。

资源截图

代码片段和文件信息

function varargout = matcont(varargin)
% MATCONT Application M-file for matcont.fig
%    FIG = MATCONT launch matcont GUI.
%    MATCONT(‘callback_name‘ ...) invoke the named callback.


global gds path_sys sys calculation_progress driver_window MC FigPos;

%add the path to the continuer
warning off
string = get(0‘defaultuicontrolfontname‘);
% set(0‘defaultuicontrolfontsize‘12);
set(0‘fixedwidthfontname‘string); 
if nargin == 0  % LAUNCH GUI
    [listval] = spparms;
    spparms(‘default‘);
    for i=1:length(list(:1))
        if strcmp(list(i:)‘umfpack‘)
%             spparms(‘umfpack‘0); %switch umfpack off use v4solver
        end
    end

    addpath([cd ‘/Continuer/‘]);
    addpath([cd ‘/Equilibrium/‘]);
    addpath([cd ‘/LimitCycle/‘]);
    addpath([cd ‘/PeriodDoubling/‘]);
    addpath([cd ‘/Systems/‘]);
    addpath([cd ‘/GUI/‘]);
    addpath([cd ‘/LimitPoint/‘]);
    addpath([cd ‘/Hopf/‘]);
    addpath([cd ‘/LimitPointCycle/‘]);
    addpath([cd ‘/NeimarkSacker/‘]);
    addpath([cd ‘/BranchPoint/‘]);
    addpath([cd ‘/BranchPointCycle/‘]);
    addpath([cd ‘/Homoclinic/‘]);
    addpath([cd ‘/HomoclinicSaddleNode/‘]);
    addpath([cd ‘/MultilinearForms/‘]);
    addpath([cd ‘/Help/‘]);
    
%    addpath([cd ‘/Help/‘]);
    % Find and go to correct directory (class directory)
    p = mfilename(‘fullpath‘);
    p = p(1:length(p)-length(mfilename));
    p = strcat(p‘/LimitCycle‘);
    curdir = cd;
    cd(p);
    
    % Compile the c-files (optimized)
    plf=mexext;
    if (strcmp(plf‘mexw64‘) || strcmp(plf‘mexa64‘) || strcmp(plf‘mexs64‘))
      if ~(exist(‘BVP_LC_jac.mexa64‘‘file‘) ...
          || exist(‘BVP_LC_jac.mexw64‘‘file‘) ...
          || exist(‘BVP_LC_jac.mexs64‘‘file‘))
        mex -largeArrayDims -O BVP_LC_jac64.c    -output BVP_LC_jac; 
        mex -largeArrayDims -O BVP_PD_jac64.c    -output BVP_PD_jac;
        mex -largeArrayDims -O BVP_BPC_jacC64.c  -output BVP_BPC_jacC;
        mex -largeArrayDims -O BVP_BPC_jacCC64.c -output BVP_BPC_jacCC;
        mex -largeArrayDims -O BVP_LPC_jac64.c   -output BVP_LPC_jac;
        mex -largeArrayDims -O BVP_NS_jac64.c    -output BVP_NS_jac;
        mex -largeArrayDims -O BVP_LCX_jac64.c   -output BVP_LCX_jac;
       end
    elseif ~(exist(‘BVP_BPC_jacC.mexsol‘‘file‘) || exist(‘BVP_BPC_jacC.mexglx‘‘file‘)...
      || exist(‘BVP_BPC_jacC.mexmac‘‘file‘) || exist(‘BVP_BPC_jacC.mexw32‘‘file‘)...
      || exist(‘BVP_BPC_jacC.mexmaci‘‘file‘))
        mex -O BVP_LC_jac.c;
        mex -O BVP_PD_jac.c;
        mex -O BVP_BPC_jacC.c;
        mex -O BVP_BPC_jacCC.c;
        mex -O BVP_LPC_jac.c;
        mex -O BVP_NS_jac.c;
        mex -O BVP_LCX_jac.c;
    end

    
    % Return to directory we started in
    cd (curdir);
    
    
    MC=[];driver_window=[];calculation_progress=0;
    MC.mainwindow=[];MC.starter=[];MC.continuer=[];
    MC.integrator=[];MC.numeric_fig=[];MC.D2=[];MC.PRC=[];MC.dPRC=[];

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2008-12-18 14:36  matcont2.5.1\BranchPoint\
     文件        6131  2008-05-07 16:20  matcont2.5.1\BranchPoint\branchpoint.m
     文件        2670  2007-08-14 09:58  matcont2.5.1\BranchPoint\init_BP_BP.m
     目录           0  2008-12-18 14:36  matcont2.5.1\BranchPointCycle\
     文件         685  2007-08-02 15:28  matcont2.5.1\BranchPointCycle\bordBVP_BPC_f.m
     文件        9905  2007-08-28 11:58  matcont2.5.1\BranchPointCycle\branchpointcycle.m
     文件         399  2005-04-08 13:41  matcont2.5.1\BranchPointCycle\BVP_BPC_bc1.m
     文件        5521  2007-08-27 17:05  matcont2.5.1\BranchPointCycle\init_BPC_BPC.m
     目录           0  2008-12-18 14:36  matcont2.5.1\Continuer\
     文件         765  2005-04-13 14:26  matcont2.5.1\Continuer\bialt.m
     文件         716  2007-08-02 08:52  matcont2.5.1\Continuer\bialtaa.m
     文件        1165  2007-08-20 08:15  matcont2.5.1\Continuer\chess.m
     文件         719  2007-08-27 15:41  matcont2.5.1\Continuer\chessbr.m
     文件         715  2007-09-25 09:18  matcont2.5.1\Continuer\chessp.m
     文件         575  2007-08-27 15:40  matcont2.5.1\Continuer\chesspbr.m
     文件        2391  2007-09-25 09:18  matcont2.5.1\Continuer\cjac.asv
     文件        2389  2008-09-01 14:10  matcont2.5.1\Continuer\cjac.m
     文件         688  2007-08-28 16:20  matcont2.5.1\Continuer\cjacbr.m
     文件         671  2007-08-27 15:40  matcont2.5.1\Continuer\cjacp.m
     文件       34039  2008-10-14 16:20  matcont2.5.1\Continuer\cont.m
     文件         556  2000-06-28 09:55  matcont2.5.1\Continuer\contget.m
     文件        1387  2007-08-02 09:55  matcont2.5.1\Continuer\contidx.m
     文件        1313  2006-07-25 10:53  matcont2.5.1\Continuer\contmrg.m
     文件         543  2000-06-28 09:55  matcont2.5.1\Continuer\contset.m
     文件         460  2007-08-02 16:01  matcont2.5.1\Continuer\ctens3.m
     文件         324  2007-08-02 08:53  matcont2.5.1\Continuer\debug.m
     文件        1228  2008-12-10 10:42  matcont2.5.1\Continuer\newtcorr.m
     文件        8794  2005-01-28 08:37  matcont2.5.1\Continuer\ode78.m
     文件        9804  2005-01-27 13:31  matcont2.5.1\Continuer\ode87.m
     文件        5095  2005-01-27 09:42  matcont2.5.1\Continuer\odearguments.m
     文件        3156  2007-08-07 14:21  matcont2.5.1\Continuer\odeget.m
............此处省略608个文件信息

评论

共有 条评论