資源簡介
MATLAB、SIMULINK的三維坐標圖生成組件,可以直接連線,很方便
代碼片段和文件信息
%?This?file?installs?the?3DScope?S-Functions?according?to?the?
%?running?MATLAB?version.?Copyright?2017?The?MathWorks?Inc.
%?get?MATLAB?version
vrs=version;
%?look?for?3D?Scope?versions
wm=which(‘sfunxyz3d.mat‘‘-all‘);
%?make?sure?we?are?in?the?right?folder?and?there?are?no?other?3Dscope?files
if?length(wm)?1?
????msg=‘?Cannot?find?sfunxyz3d.mat?please?run?this?file?from?the?folder?containing?sfunxyz3d.mat‘;
????error(msg);
end
%?get?the?main?folder
mp=wm{1}(1:end-14);
%?get?folder?containing?sfunxyz
ws=which(‘sfunxyz‘‘-all‘);
%?find?the?occurrences?of?the?main?folder
%?is?there?is?one?folder?containing?sfunxyz?which?is?not?the?main?issue?a?warning
if?str2double(vrs(1:3))?>?6.5
???test=cell2mat(strfind(wsmp));
???if?~all(test)
??????msg=‘?There?is?at?least?another?sfunxyz.m?or?sfunxyz.p?file?in?the?path?the?installation?will?go?on?but?it?is?strongly?suggested?to?delete?any?other?version?before?using?this?one‘;
??????warning(msg);
???end
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2643??2017-12-01?20:35??install_3dscope.m
?????文件???????61324??2017-12-01?20:35??lorenz3d.mdl
?????文件???????34923??2017-12-01?20:35??m3dscope_new.mdl
?????文件???????12703??2017-12-01?20:35??m3dscope_old.mdl
?????文件????????3790??2017-12-01?20:35??readme.txt
?????文件???????32224??2017-12-01?20:35??sfunxyz3d.mat
?????文件????????1522??2017-12-01?20:35??license.txt
- 上一篇:IOI2014解題報告
- 下一篇:模擬交換機
評論
共有 條評論