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

Insert-matlab-intotext

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

  • MPRO
    以Matlab与C语言、Visual Basic、Excel为核心语言,配有大量的代码实例,系统地介绍了常用的代码优化方法和功能扩展程序(In Matlab and C language, Visual Basic, Excel as the core language,配有大量code example, the system commonly used to introduce a code optimization method and function of the expansion process)
    2009-03-17 11:34:23下载
    积分:1
  • m
    说明:  stft(含:短时傅立叶变换 Gabor变换等)(stft (containing: STFT Gabor transform, etc.))
    2008-04-18 10:09:39下载
    积分:1
  • sliding-mode_control_2order_zad3
    second order sliding mode control
    2015-03-20 20:57:12下载
    积分:1
  • paper6
    research papers for m tech
    2010-06-15 13:01:20下载
    积分:1
  • ifftrl
    一种fourier的快速变换,计算结果比matlab里的fft节省一半空间(A Fourier transform of fast, the calculation results of FFT than matlab save half space)
    2012-02-23 10:59:57下载
    积分:1
  • IA2_P1v1
    说明:  Este código extrae los bigramas de un texto...
    2010-04-18 21:55:35下载
    积分:1
  • LM
    说明:  基于levenberg-marquardt的高斯分解法,并用GLAS信号进行了验证(A Gaussian Decomposition approach based on levenberg-marquardt method. Verified by GLAS waveform signals.)
    2013-01-05 15:29:41下载
    积分:1
  • number-plat-extraction
    number plat extraction code
    2014-10-16 16:46:42下载
    积分:1
  • waterhardycross
    hardy cross method for a branch system
    2012-01-14 00:21:44下载
    积分:1
  • Untitled123
    说明:  MATLAB 用函数实现图像直方图显示并比较不同插值得到的三幅图的差别(MATLAB with the function to achieve the image histogram display and compare different interpolation to be the difference between the three pictures)
    2010-03-21 01:41:08下载
    积分:1
  • 696518资源总数
  • 104226会员总数
  • 29今日下载