• 大小: 20KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-02
  • 语言: Matlab
  • 标签: 仿真  

资源简介

无人艇避障研究matlab仿真,可以直接运行,其中的几个m文件为船舶的参数和水动力参数,自己修改

资源截图

代码片段和文件信息

function [sysx0strts] = csfunc(txuflag)
% CSFUNC An example M-file S-function for defining a system of
% continuous state equations:

% Dispatch the flag.

switch flag

  case 0
    [sysx0strts]=mdlInitializeSizes;% Initialization

  case 1
    sys = mdlDerivatives(txu); % Calculate derivatives

  case 3
    sys = mdlOutputs(txu); % Calculate outputs
  
  case { 2 4 9 } % Unused flags
    sys = [];
otherwise
    error([‘Unhandled flag = ‘num2str(flag)]); % Error handling
end
% End of csfunc.
%==============================================================
% mdlInitializeSizes
% Return the sizes initial conditions and sample times for the 
% S-function.
%==============================================================
%
function [sysx0strts] =

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      46495  2010-03-20 11:21  避障matlab\lihui.mdl

     文件      46493  2009-02-20 10:23  避障matlab\lihui123\123.mdl

     文件       2501  2007-12-31 08:40  避障matlab\penshuituili.m

     文件       2321  2007-09-13 19:45  避障matlab\pp.m

     文件       2858  2007-12-18 20:44  避障matlab\vj.m

     文件       5558  2008-01-14 07:36  避障matlab\yundong.m

     目录          0  2017-04-11 16:57  避障matlab\lihui123

     目录          0  2017-04-11 16:57  避障matlab

----------- ---------  ---------- -----  ----

               106226                    8


评论

共有 条评论