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

Insert-matlab-intotext

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

  • barometric_02
    Basic Barometric Altimeter simulink model
    2009-05-18 04:43:54下载
    积分:1
  • EZWsuanfa-Matlab
    说明:  EZW算法的过程详解和Matlab代码,关于小波树的变换,在图像处理中的应用(Detailed process of EZW algorithm and Matlab code, the tree on the wavelet transform, applications in image processing)
    2011-04-08 09:37:45下载
    积分:1
  • uff
    functions that write and read files of universal file format uff
    2010-05-26 23:31:29下载
    积分:1
  • Differential-equation-solver
    基于Matlab用于求解常微分方程的小程序,非常好用,欢迎下载。(Matlab-based applet for solving ordinary differential equations, and very easy to use, welcome to download.)
    2014-11-25 09:59:32下载
    积分:1
  • hamming
    Hamming code in matlab.
    2009-11-15 02:45:49下载
    积分:1
  • binomial
    输入二项式的每一项系数和指数,输入未知函数的值求值,然后输入第二个二项式,并合并两个二项式(Enter the binomial coefficient and index of each one, enter the value of an unknown function evaluation, and then enter the second binomial, and the merger of the two binomial)
    2009-12-27 11:03:56下载
    积分:1
  • 06365196gps
    doa阵列处理程序 适合初学者使用,对天线阵列的学习很有帮助(Matlab noise FM interference for beginners to use )
    2012-04-18 14:31:12下载
    积分:1
  • cor
    cor(r)生成半径为r的极坐标矩阵,矩阵大小为(2r+1)*(2r+1)(COR (r) generating matrix of the polar coordinates whose radius is r , the matrix size (2r+1)* (2r+1))
    2013-04-27 17:15:08下载
    积分:1
  • lm1
    三个分段相连的信号的傅里叶变换和时频分析;Chirp 信号的傅里叶变换和时频分析;信号的子带分解(Linked to three sub-signals Fourier transform and time-frequency analysis Chirp signal Fourier transform and time-frequency analysis signal subband decomposition)
    2007-12-12 09:43:06下载
    积分:1
  • denoise_image
    文件中包含几个用matlab编写的图像去噪程序,如邻域平均滤波‘维纳滤波法,巴特沃斯滤波法,并给出了计算PSNR值的公式。( delete the noise in the image)
    2010-11-29 11:28:23下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载