-
大小: 113KB文件類型: .rar金幣: 2下載: 1 次發布日期: 2021-07-21
- 語言: Matlab
- 標簽:
資源簡介
解碼keil 保存的hex內存數據,轉為一個數組數據,然后通過excel或matlab作為數據分析。

代碼片段和文件信息
//?decode.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“decode.h“
#include?“decodeDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CdecodeApp
BEGIN_MESSAGE_MAP(CdecodeApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CdecodeApp?構造
CdecodeApp::CdecodeApp()
{
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CdecodeApp?對象
CdecodeApp?theApp;
//?CdecodeApp?初始化
BOOL?CdecodeApp::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?標準初始化
//?如果未使用這些功能并希望減小
//?最終可執行文件的大小,則應移除下列
//?不需要的特定初始化例程
//?更改用于存儲設置的注冊表項
//?TODO:?應適當修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應用程序向導生成的本地應用程序“));
CdecodeDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時用
//??“確定”來關閉對話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時用
//??“取消”來關閉對話框的代碼
}
//?由于對話框已關閉,所以將返回?FALSE?以便退出應用程序,
//??而不是啟動應用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????69126??2017-03-10?10:08??decodehex\360截圖20170310100854828.jpg
?????文件???????1506??2017-03-10?10:48??decodehex\decode\1.txt
?????文件????????967??2017-03-10?11:31??decodehex\decode\2.txt
?????文件??????58560??2017-03-10?10:41??decodehex\decode\decode.aps
?????文件???????1647??2015-12-07?17:28??decodehex\decode\decode.cpp
?????文件????????441??2015-12-07?17:28??decodehex\decode\decode.h
?????文件???????5105??2017-03-10?10:41??decodehex\decode\decode.rc
?????文件???????5472??2015-12-07?18:25??decodehex\decode\decode.vcproj
?????文件???????1427??2017-03-23?09:23??decodehex\decode\decode.vcproj.DP-201211261405.Administrator.user
?????文件???????6024??2017-03-10?11:59??decodehex\decode\decodeDlg.cpp
?????文件????????604??2015-12-07?18:25??decodehex\decode\decodeDlg.h
?????文件???????2745??2015-12-07?17:28??decodehex\decode\ReadMe.txt
?????文件??????21630??2003-07-24?09:52??decodehex\decode\res\decode.ico
?????文件????????362??2015-12-07?17:28??decodehex\decode\res\decode.rc2
?????文件????????721??2015-12-17?17:07??decodehex\decode\Resource.h
?????文件????????137??2015-12-07?17:28??decodehex\decode\stdafx.cpp
?????文件???????1796??2015-12-07?17:28??decodehex\decode\stdafx.h
?????文件???????1030??2015-12-07?17:28??decodehex\decode\targetver.h
?????文件??????19456??2017-03-23?09:23??decodehex\decode.ncb
?????文件????????884??2015-12-07?17:28??decodehex\decode.sln
????..A..H.?????27648??2017-03-23?09:23??decodehex\decode.suo
?????文件???????5797??2018-11-14?15:31??decodehex\Release\1.txt
?????文件???????3612??2018-11-14?15:31??decodehex\Release\2.txt
?????文件??????41472??2017-03-10?11:59??decodehex\Release\decode.exe
?????文件????????321??2018-01-03?16:24??decodehex\新建?文本文檔.txt
?????目錄??????????0??2017-03-10?10:08??decodehex\decode\res
?????目錄??????????0??2017-03-10?10:07??decodehex\decode
?????目錄??????????0??2017-03-10?11:59??decodehex\Release
?????目錄??????????0??2017-03-10?10:07??decodehex
-----------?---------??----------?-----??----
............此處省略2個文件信息
評論
共有 條評論