当前位置:网站首页>从KEIL仿真界面导出数据的技巧
从KEIL仿真界面导出数据的技巧
2022-07-29 12:52:00 【挖矿大亨】
第一步:函数,根据需要编写,遵循linux编程规范
FUNC void GetADValue(void)
{
int i;
exec("log > Data.log");
printf ("******v28_in_r1*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_r1[i]);
}
printf ("******v28_in_r2*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_r2[i]);
}
printf ("******v28_in_iplus*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_iplus[i]);
}
exec("log off");
}
第二步:将脚本命名为ini格式
第三步:导入ini格式的函数脚本
第四步:编译函数
第五步:在command window界面输入执行函数名称
第六步:查看导出数据,文件名称(也是可以修改,根据脚本来修改)为Data.log
边栏推荐
- 码蹄集 tourist
- 「 工业缺陷检测深度学习方法」最新2022研究综述
- nacos cluster construction
- JS_删除数组里的无效数据 0 undefined ‘‘ null false NaN
- [Cloud native] Introduction and use of Feign of microservices
- 别再问我如何制作甘特图了!
- 大一(下)暑假作业
- What should I do if the webpage is hijacked and redirected?Release net repair method
- 微信小程序的登录
- The interviewer was stunned by the self-growth of 4 mainstream database IDs in one breath
猜你喜欢

基于对象的实时空间音频渲染丨Dev for Dev 专栏

TiCDC synchronization delay problem
![[网鼎杯 2020 半决赛]AliceWebsite](/img/59/5b87c1ce83adc4027efe8fff5d39ef.png)
[网鼎杯 2020 半决赛]AliceWebsite

Nacos分级存储模型-集群配置与NacosRule负载均衡

The whole process of installing Oracle database on CentOS7

CentOS7安装Oracle数据库的全流程

IDEA 数据库插件Database Navigator 插件

Py之eli5:eli5库的简介、安装、使用方法之详细攻略

MIT指出公开预训练模型不能乱用

Nacos hierarchical storage model - the cluster configuration and NacosRule load balance
随机推荐
The strategy pattern replacement if the else
"Industrial flaw detection depth study method" the latest 2022 research were reviewed
"Pure theory" FPN (Feature Pyramid Network)
MySQL 视图(详解)
Framework common annotation explanation
asyncawait和promise的区别
The interviewer was stunned by the self-growth of 4 mainstream database IDs in one breath
传奇服务端GOM引擎和GEE引擎区别在哪里?
为什么用了大牌工具后报表开发依然头痛
如何把Netflix数据集转换成Movielens格式?
MySql字符串拆分实现split功能(字段分割转列、转行)
[网鼎杯 2020 半决赛]AliceWebsite
微信小程序的登录
【微信小程序】WXSS和全局、页面配置
conda环境创建及复制
来自 Qt 官网的呐喊
IDEA2021.2安装与配置(持续更新)
框架常用注解解释
【微信小程序】一文解决button、input、image组件
A recent paper summarizes