目前分類:MATLAB (12)

瀏覽方式: 標題列表 簡短摘要

me1237guy 發表在 痞客邦 留言(0) 人氣()

 

me1237guy 發表在 痞客邦 留言(0) 人氣()

 

me1237guy 發表在 痞客邦 留言(0) 人氣()

1. In order to send mail from the GMail server, the first step is that you have to decrease the security level of your Gmail settings, enable it by clicking here

me1237guy 發表在 痞客邦 留言(0) 人氣()

 

1. Ryze Tello Drone Support from MATLAB

me1237guy 發表在 痞客邦 留言(0) 人氣()

https://www.facebook.com/MATLAB/videos/372170376698253/

me1237guy 發表在 痞客邦 留言(0) 人氣()

今天試著編譯一個m檔案, 不過特別的地方是有用到jar檔案

me1237guy 發表在 痞客邦 留言(0) 人氣()

set (gcf, 'WindowButtonMotionFcn', @mouseMove);
其中moveMove為Callback function name 
   1: function mouseMove (object, eventdata)
   2: C = floor( get(gca, 'CurrentPoint'));
   3: title(gca, ['(X,Y) = (', num2str(C(1,1)), ', ',num2str(C(1,2)), ')']);

me1237guy 發表在 痞客邦 留言(2) 人氣()

以前讀取avi檔案, 如果用內建aviread指令常常會發生無法讀取的窘境,

me1237guy 發表在 痞客邦 留言(0) 人氣()

> imageBatchProcessor
這個是2015a版本才有的影像批次處理工具  (Image Batch Processor)

應用如MRI影像資料, 適合批次處理多張影像(image sequence)來源, 可以省去相關UI開發瑣事

me1237guy 發表在 痞客邦 留言(0) 人氣()

CNN: 下載

 

下載手寫數字資料庫

me1237guy 發表在 痞客邦 留言(6) 人氣()

   1: function lCOM_Port = getAvailableComPort()
   2: % function lCOM_Port = getAvailableComPort()
   3: % Return a Cell Array of COM port names available on your computer
   4:  
   5: try
   6:     s=serial('IMPOSSIBLE_NAME_ON_PORT');fopen(s); 
   7: catch
   8:     lErrMsg = lasterr;
   9: end
  10:  
  11: %Start of the COM available port
  12: lIndex1 = findstr(lErrMsg,'COM');
  13: %End of COM available port
  14: lIndex2 = findstr(lErrMsg,'Use')-3;
  15:  
  16: lComStr = lErrMsg(lIndex1:lIndex2);
  17:  
  18: %Parse the resulting string
  19: lIndexDot = findstr(lComStr,',');
  20:  
  21: % If no Port are available
  22: if isempty(lIndex1)
  23:     lCOM_Port{1}='';
  24:     return;
  25: end
  26:  
  27: % If only one Port is available
  28: if isempty(lIndexDot)
  29:     lCOM_Port{1}=lComStr;
  30:     return;
  31: end
  32:  
  33: lCOM_Port{1} = lComStr(1:lIndexDot(1)-1);
  34:  
  35: for i=1:numel(lIndexDot)+1
  36:     % First One
  37:     if (i==1)
  38:         lCOM_Port{1,1} = lComStr(1:lIndexDot(i)-1);
  39:     % Last One
  40:     elseif (i==numel(lIndexDot)+1)
  41:         lCOM_Port{i,1} = lComStr(lIndexDot(i-1)+2:end);       
  42:     % Others
  43:     else
  44:         lCOM_Port{i,1} = lComStr(lIndexDot(i-1)+2:lIndexDot(i)-1);
  45:     end
  46: end    

me1237guy 發表在 痞客邦 留言(0) 人氣()

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼