登录
首页 » matlab » Insert-matlab-intotext

Insert-matlab-intotext

于 2012-11-15 发布 文件大小:2KB
0 266
下载积分: 1 下载次数: 7

代码说明:

  在文本文件中嵌入MATLAB代码并运行返回结果 类似在HTML中嵌入PHP和ASP代码,本函数实现在文本文件中嵌入matlab代码并运行! 主要作用以及价值: 在文本文件中嵌入matlab代码,并可以直接运行该文本文件 根据matlab变量的当前值,实时修改文件文件中相应的数据 目前具有如下功能: matlab代码使用必须包含在< >符号中,中间的内容都被解析为matlab代码 matlab代码可以放在文本的任意位置,你想放在什么地方都可以 matlab代码允许被文本分割而不连续书写,比如循环语句 fprintf(fid_target,...)函数用来向文件中写入字符,目前还比较麻烦 有待改进的方面有: 在文本文件中增加对matlab function的支持 简化变量输出,目前只能fprintf(fid_target,...) 目前是M脚本完成功能的,后期会提供M函数(MATLAB code embedded in the text file and run return results Similar PHP and ASP code embedded in HTML, the function matlab code embedded in the text file and run! A major role as well as the value of: Matlab code embedded in the text file, and can be run directly on the text file Modify the data file file based on the current value of the matlab variables, real-time Currently has the following functions: matlab code uses the symbol in the middle of the parse matlab code must contain matlab code can be placed anywhere in the text, where you want to put matlab code allows text segmentation without the consecutive writing, such as loop statement fprintf (fid_target, ...) function is used to write characters to the file, there is too much trouble Areas for improvement: Increase support for matlab function in a text file Simplify variable output, can only the fprintf (fid_target ...) M script completed, late M function)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • image_search
    基于RGB的图像检索源代码,可选择不同的RGB比例,搜索不同的类搜图像。(RGB-based image retrieval)
    2013-04-11 22:34:31下载
    积分:1
  • 7-8
    汽车八自由度模型,四轮转向,matlab仿真(The car eight degrees of freedom model)
    2012-10-17 09:12:07下载
    积分:1
  • TRUWB
    this file is mfile code for uwb simulation. TR modulation schemes have been proposed because of the ease of channel estimation in dense multipath channel.
    2009-06-18 18:12:27下载
    积分:1
  • matlab
    基于小波变换的数字水印提取Matlab源代码(Digital Watermarking Based on Wavelet Transform Matlab source code extraction)
    2010-05-11 15:54:33下载
    积分:1
  • icoshift_v1_1_1
    一种能够快速而且高效的校正光谱数据的工具箱( An ultra rapid and versatile tool for the alignment of spectral datasets.)
    2011-05-28 21:24:11下载
    积分:1
  • 5
    说明:  DSP course lab 5 MATLAB
    2011-11-07 23:56:12下载
    积分:1
  • farSVDDOA1
    说明:  实现了信号相位匹配原理奇异值分解的远场目标DOA估计,该算法指向性尖锐分辨率高(The arithmetic solved the estimate of far-filed signal s direction of arrival,based on the principle of signal macthed phase SVD.)
    2011-03-26 09:33:57下载
    积分:1
  • A_TOA_analytically
    Active approach - TOA(Active approach- TOA)
    2007-04-30 16:45:45下载
    积分:1
  • cacal
    CACAL Calibration routine for computing the camera parameters. The initial values are solved by using the DLT method and the final parameter values are obtained iteratively
    2012-09-05 15:15:30下载
    积分:1
  • zuanjing
    数模中的钻井问题的matlab源码,需要的下!(few Die drilling Matlab source of the problem, it needs under!)
    2007-05-07 20:13:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载