• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
大家还在搜
  • Nature之肠道内微生物合作方式的探究

    Nature:肠道内微生物合作方式的探究

    2020-05-04 08:42

  • RT-Thread添加新文件到工程目录的方法

    RT-Thread零基础快速入门第3讲——添加新文件到工程目录RT-Thread零基础快速入门第3讲——添加新文件到工程一、前言二、用ENV工具添加新文件三、使用keil添加

    2022-01-18 08:44

  • 静电纺丝最新文献20170911IF(3.108-12.123)

    of Immiscible Oils/Organic Solvents and Corrosive Aqueous Solutions 注:大连理工大学刘欣老师最新文章J MATER CHEM A2017影响因子

    2017-09-14 16:17

  • 静电纺丝最新文献20170703IF(1.575-8.402)

    the paracrine function of mesenchymal stem cells: A new dimension in cell-material interaction 注:北京大学罗莹老师最新文章J

    2017-07-05 09:14

  • matlab实现遍历文件夹并自动创建对应的新文件夹方法

    能自动将文件夹中所有文件自动的识别并创建对应的文件夹,文件夹名要和文件中某个字段相同。用system()函数。如下 tmp1=['mkdir ' dir_final]; system(tmp1);%文件夹创建完成我试了下,用下面的函数系统就自动关机了,哈哈fun='shutdown -s';system(fun);你运行了?哈哈,别急赶紧在运行里输入shutdown -a 就取消自动关机了,不过要快,就30秒时间。不扯了,赶紧做正事。这次的文件内容如下LOCUS HUMHOX4A5834 bp DNA PRI 26-NOV-1992DEFINITIONHuman homeobox HOX 4A gene for homeodomain protein, complete cds.ACCESSIOND11117NIDg219879KEYWORDS HOX 4A homeodomain protein; homeobox.SOURCEHuman peripheral lymphocytes, cell line AKIBA, AKIBA genomic cosmidlibrary, DNA.ORGANISMHomo sapiensEukaryotae; mitochondrial eukaryotes; Metazoa; Chordata;Vertebrata; Eutheria; Primates; Catarrhini; Hominidae; Homo.REFERENCE1(bases 1 to 5834)AUTHORSTaniguchi,Y., Fujii,A. and Moriuchi,T.TITLECloning and sequencing of the human homeobox gene HOX4AJOURNALBiochim. Biophys. Acta 1132, 332-334 (1992)MEDLINE93041940COMMENTSubmitted (14-MAY-1992) to DDBJ by: Yasushi TaniguchiDept. of Cell BiologyTokai University Schoo不同的是这次有n个这样的文件,要创建n个文件夹,对应的文件夹名如字段ACCESSION后面的6个字符串所示,毫无疑问又要用大循环了,而且这个大循环外面还要套个遍历放这写文件的文件夹中内容的循环,(把这句一定要读懂),matlab自带的dir函数就有这个功能。DIRS=dir([SCR_DIR,'*.txt']);bit_flag=0;n=length(DIRS);for i=1:n if ~DIRS(i).isdir这就起到了遍历的功能。接下来要打开文件了,并找对应的字段,因为这个字段总是在前面,所以少读点内容就可以了。file_name=SCR_DIR;file_name=strcat(file_name,DIRS(i).name);file_id=fopen(file_name,'r');file_content=fread(file_id,500);fclose(file_id);for i=1:480switch file_content(i) case {'A'}if(strncmp(char(file_content(i:i+9))','ACCESSION',9))读取了字段就可以创建文件夹了, dir_tmp=char(file_content(i+12:i+13+5));dir_tmp=dir_tmp(1:6);dir_final=[DIR_NAME_PART,dir_tmp'];tmp1=['mkdir ' dir_final];system(tmp1);%文件夹创建完成bit_flag=1;全部遍历完就可以了。

    2012-02-23 14:37

  • 964768-3

    STD-TIMHSGSPECIAL2P(NATURE)

    2024-08-01 23:49

  • 定义脉冲雷达信号和信号功率的基本测量

    Defines that nature of actual radar signals and describes practical ways to measure power in those signals.

    2018-10-15 10:51

  • 81689A,81689B和81649A可调谐激光模块用户指南

    non-operational nature, concerning accessories, specifications, and performance tests.

    2019-06-17 10:02

  • 使用PNA网络分析仪测量功率附加效率应用笔记

    This document describes the automotive industry’s highly competitive nature and the intense

    2019-10-28 08:41

  • ATM环境中的抖动容限测试产品说明

    This product note discusses the nature of Jitter tolerance problems and describes a method

    2019-03-27 13:56