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

Insert-matlab-intotext

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

  • acifmdemod
    It is a wondeful program to see the hata-okumara model.
    2011-05-18 18:12:14下载
    积分:1
  • normalization
    基于matlab的实现函数归一化的功能,可将函数进行均值为0,方差为1的归一化处理。(Matlab-based implementation of function of the normalized function, can function with mean 0, variance 1 normalization processing.)
    2021-05-09 17:38:34下载
    积分:1
  • luoxuanjiang
    涡格法计算机翼涡强,现目前主要写出了计算涡强部分,升阻力后续传上(Vortex lattice method the computer wing vortex strength)
    2011-07-10 19:57:33下载
    积分:1
  • 3D_Math_PerlinNoise2D_Ocean
    柏林噪声海洋模拟 柏林噪声海洋模拟 柏林噪声海洋模拟 柏林噪声海洋模拟(perlin noise ocean simulation perlin noise ocean simulation perlin noise ocean simulation)
    2014-12-20 18:29:06下载
    积分:1
  • yanshe
    這是本人自己寫的基於matlab的夫瑯禾費衍射仿真程序,希望能夠幫到有需要的人(This is my own writing based on the matlab Fraunhofer diffraction simulation program, hoping to help the needy。)
    2011-12-22 14:15:07下载
    积分:1
  • Acupuncture
    This m file for acupuncture points are made in the human body
    2011-12-29 14:00:51下载
    积分:1
  • ask4
    4进制振幅键控的源代码,运行后得到正常结果!(4 binary amplitude shift keying of the source code, running the results are normal!)
    2010-07-22 12:10:07下载
    积分:1
  • psoweb
    pso源代码pso源代码pso源代码pso源代码(pso daima)
    2011-05-05 09:51:52下载
    积分:1
  • FILTER-DESIGN-BY-IMPULSE-INVARIANCE
    FILTER DESIGN BY IMPULSE INVARIANCE
    2012-04-03 23:35:30下载
    积分:1
  • beamform
    线阵,圆阵,圆柱阵,球阵三维波束形成图,二进制和十进制(小数)的转换(The 3D beamforming diagram of the linear array, circular array, cylindrical array ball array, binary and decimal (decimal) conversion)
    2013-03-05 22:04:34下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载