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

Insert-matlab-intotext

于 2012-11-15 发布 文件大小:2KB
0 265
下载积分: 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 个回复

  • AcousticsandHearing
    讲双耳听觉和音频信号处理的一本不错的书!(a good book about HRTF and audio signal processing!)
    2010-12-08 18:11:00下载
    积分:1
  • 4
    根据教科书上已经给出的简单的数学算式,运用matlab编写出简单的代码,计算出结果(According to the textbook has been given a simple mathematical formula, using matlab write simple code to calculate the results)
    2013-09-14 19:00:17下载
    积分:1
  • Matlab_reaction
    说明:  基于反应谱计算的基本原理,对于单自由度弹性体系在水平地震作用下的力平衡方程。(Calculated based on the basic principles of response spectrum for single degree of freedom elastic system under horizontal earthquake force balance equation.)
    2011-04-01 13:21:41下载
    积分:1
  • CA
    说明:  生成C/A码的小程序,还可以计算自相关性(Generated C/A code small programs can also calculate the autocorrelation)
    2011-05-06 19:13:18下载
    积分:1
  • regsoft
    蒋庆堂先生大作。测试小波光滑性(Soblev指数)(Mr. Jiang Qingtang masterpiece. Test wavelet smoothness (Soblev index))
    2010-10-13 21:57:25下载
    积分:1
  • cascadicmultigridfornonlinearproblem
    用于求解半线性椭圆问题的瀑布型多网格算法,可以求解到很高的精度,(Used to solve semi-linear elliptic problem Falls Multi-grid method, you can solve to a high precision,)
    2010-03-07 21:31:18下载
    积分:1
  • matlab
    This code contains MATLAB code to automatically create a wireless network
    2011-07-26 17:05:20下载
    积分:1
  • TURBOC
    TC下的C语言程序设计方法以及C语言程序设计实例(TC C programming language under the methods and examples C programming language)
    2010-10-18 16:04:10下载
    积分:1
  • sdinSPI
    sd program in spi interface .. you can connect a sd memmory using spi interface
    2010-02-04 22:16:05下载
    积分:1
  • APF_ip_iq
    APF基于ip-iq的Simulink仿真模型,学习及分析APF很好的资料,验证可用,文件仅用于学习交流,严禁用于商业用途。(APF ip-iq Simulink models based APF study and analysis of good information, verification is available only for study and exchange files, non-commercial use.)
    2015-04-09 09:53:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载