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

  • 大小: 8KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-15
  • 語言: Matlab
  • 標簽: MATLAB??

資源簡介

解決現在MATLAB文件與軟件無法關聯的問題,可以實現MATLAB軟件相關文件的關聯。

資源截圖

代碼片段和文件信息

function?associateFiles(action?userExtList?fileStr)

%?associateFiles(action?extList?fileStr)
%
%?Makes?a?registry?files?that?can?be?used?to?set?correct?file?associantions?on
%?a?windows?platform.?The?following?MATLAB?file?extensions?are?supported:
%?.m?.mat?.fig?.mexw32?.mexw64?.p?.mdl?.mdlp?.slx?.mldatx?.req
%?.sldd?.slddc?.slxp?.sltx?.mn?.mu?.muphlp?.xvc?.xvz?.ssc?.mlapp
%?.mlappinstall?.mltbx?.mlpkginstall?.mlprj
%
%?INPUT:
%?action??-?optional?string.?
%???????????*?‘add‘?(default)?adds/rewrites?the?MATLAB?file?association?registry
%??????????????keys?for?this?version.
%???????????*?‘delete‘?deletes?the?MATLAB?file?association?registry?entries?for
%??????????????ALL?versions?of?MATLAB?(including?“old?style“?ones)
%???????????*?‘deleteadd‘?is?the?same?as?‘delete‘?followed?by?‘add‘??
%?extList?-?optional?string?or?cell?array?of?strings?containing?the?file
%???????????extensions?that?should?be?associated?with?this?version.?Default?is
%???????????all?MATLAB?file?extension?(see?above).
%?fileStr?-?optional?string?with?the?name?of?the?registry?file?to?be?written?
%???????????(possibly?including?path).?Default?is?the?file
%???????????‘MatlabFileAssocFix.reg‘?in?the?current?directory.
%
%?USAGE:
%?1)?Run?with?desired?options?(see?above).?A?registry?file?should?have?been?
%????created.?
%?2)?Exit?all?running?instances?of?MATLAB.
%?3)?Make?a?backup?copy?of?the?windows?registry?if?you?need?to?restore?the?
%????changes?see?https://support.microsoft.com/en-us/kb/322756
%?4)?Double?click?on?the?created?file?(possibly?need?to?enter?a?password)?and
%????confirm.
%?5)?Restart?Windows?(or?explorer.exe).
%?6)?The?MATLAB?files?should?now?be?associated?with?the?MATLAB?version?that?the
%????registry?file?was?created?in?and?e.g.?m-files?should?be?opened?in?an
%????already?running?instance?of?MATLAB.
%
%?EXAMPLES:
%?*?associateFiles(‘deleteadd‘)?-?Makes?a?registry?files?that?deletes?all
%???previous?MATLAB?file?association?registry?keys?and?write?new?ones?that
%???associates?all?MATLAB?files?with?the?MATLAB?version?that?the?registry?file
%???was?created?in.
%?*?associateFiles(‘‘?{‘.m‘?‘.mat‘?‘.fig‘}?‘myFile‘)?-?Makes?a?registry?file
%???“myFile.reg“?that?associates?m-?mat-?and?fig-files?with?the?MATLAB?version
%???that?the?registry?file?was?created?in.?
%
%?VERSION?1.0

%?Defualt?input
if?(nargin???action??????=?‘add‘;
end
if?(nargin???userExtList?=?{};
end
if?(nargin???fileStr?=?‘‘;
end
if?(~iscell(userExtList))
??if?(isempty(userExtList))
????userExtList?=?{};
??else
????userExtList?=?{userExtList};
??end
end

%?Sanity?check
if?(~ischar(action)?||?(~strcmpi(action?‘add‘)?&&?...
????~strcmpi(action?‘delete‘)?&&?~strcmpi(action?‘deleteadd‘)))
??error(‘The?action?to?perform?must?be?‘‘add‘‘?‘‘delete‘‘?or?‘‘deleteadd‘‘!‘)
end
if?(~isempty(userExtList)?&&?~min(cellfun(@ischar?userExtList)))
??error(‘The?file?extension?list?mu

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????14222??2015-06-11?15:57??matlab文件關聯方法\associateFiles\associateFiles.m

?????文件???????1524??2015-06-11?15:57??matlab文件關聯方法\associateFiles\license.txt

?????文件??????30700??2018-05-07?19:18??matlab文件關聯方法\associateFiles\MatlabFileAssocFix.reg

?????文件????????139??2016-04-04?10:34??matlab文件關聯方法\associateFiles\readme.txt

?????目錄??????????0??2018-05-07?19:20??matlab文件關聯方法\associateFiles

?????目錄??????????0??2018-05-07?19:20??matlab文件關聯方法

-----------?---------??----------?-----??----

????????????????46585????????????????????6


評論

共有 條評論