91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-03
  • 語言: Matlab
  • 標簽: advisor??matlab??

資源簡介

advisor 2002在高版本matlab下運行的補丁 親測matlab r2014a 有效

資源截圖

代碼片段和文件信息

%this?file?will?update?all?the?block?diagrams?in?the?models?directory?in?ADVISOR
%so?that?they?will?work?in?Mathworks?Release?13.??This?assumes?that?you?have?ADVISOR?2002
%and?it?is?already?included?in?your?Matlab?path?which?is?done?automatically?when?you?type?
%advisor?at?the?command?prompt.??
%
%?place?this?file?in?your?current?working?directory?in?Matlab?and?type?it‘s?name.
%
%?Here‘s?what?we?posted?on?the?advisor?community?web?site?regarding?this?error.
%?
%?Aug-30-2002?7:22?AM?
%?
%?Regarding?the?boolean?type?problem?in?R13:?Release?13?of?Matlab?has?introduced
%?a?new?type?called?logical.?The?problem?is?in?the?block?diagrams?in?the?accessory?
%?loads?masked?subsystem.?Go?to?BD_PAR?for?instance?and?click?on?“mechanical?accessory?loads?“?
%?then?click?on?the?“Mechanical?Accessory?Loads?V2?“?block.?You?will?see?a?mask?window?pop
%?open.?At?the?top?you?will?see?the?“not“?function?used.?In?release?12?and?earlier?this?
%?function?returned?a?1?or?a?0?for?true?and?false.?Now?it?returns?a?new?type?logical.?This?
%?is?causing?the?problems.?To?fix?the?problem?multiply?by?1?(which?causes?a?type?change?
%?to?double).?That?should?fix?the?logical?errors.?

clear?all
%change?directories?to?the?models?directory
cd(strrep(which(‘advisor.m‘)‘advisor.m‘‘models‘))

%get?the?list?of?everything?in?the?models?directory
dir_list=dir;

%For?the?items?in?the?directory?that?are?.mdl?files?do?the?following
k=1;
for?i=1:length(dir_list)
????if?~isempty(strfind(dir_list(i).name‘.mdl‘))
????

評論

共有 條評論