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

Insert-matlab-intotext

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

  • matlab6.5
    该源码为matlab6.5图形图像处理书籍的配套资料。(The source code for the graphic image processing books matlab6.5 supporting information.)
    2008-04-25 16:47:00下载
    积分:1
  • GAant
    基于栅格划分的环境中,研究了机器人路径规划问题中蚁群系统的“外激素”表示及更新方式,并将遗传算法的交叉操作结合到蚁群系统的路径寻优过程中,提高了蚁群系统的路径寻优能力,为蚁群算法的应用提供了一种新的探索。(Raster-based division of the environment, to study the issue of robot path planning in the ant colony system of )
    2008-05-07 17:37:01下载
    积分:1
  • SimPowerSystem
    SimPowerSystem 是MATLAB的一个工具箱,主要用于电力系统、电力电子电路的仿真。(SimPowerSystem is a MATLAB toolbox, is mainly used for electric power systems, power electronic circuit simulation.)
    2011-08-22 16:07:24下载
    积分:1
  • CARMA_GI
    受控自回归滑动平均模型的梯度迭代算法,经过多次迭代计算之后,能够有效的逼近真实值(Controlled autoregressive moving average model of gradient iterative algorithm, after several iterations, can effectively approach the true value)
    2014-09-04 10:09:53下载
    积分:1
  • GMSK
    GMSK也是通信中的重要内容,用MATLAB仿真的源程序代码(GMSK is also an important part of communication, the source code using MATLAB simulation)
    2011-11-22 13:33:24下载
    积分:1
  • matlab-GA
    该程序是利用遗传算法求解f=21.5+x1sin(4*pi*x1)+x2sin(20*pi*x2)在-3.0<=x1<=12.1 和 4.1<=x2<=5.8 上的最大值 (The program is the use of genetic algorithms f = 21.5+x1sin (4* pi* x1)+x2sin (20* pi* x2)-3.0 < = x1 < = 12.1 and 4.1 < = x2 < = maximum of 5.8 on the)
    2015-01-12 15:06:20下载
    积分:1
  • qinjiuzhao
    基于MATLAB的秦九詔算法源代码,可用于优化排序(MATLAB-based algorithm for Chao Qin 9 source code, can be used to optimize the sorting)
    2009-11-08 16:41:50下载
    积分:1
  • g56
    Smal program for NMEA observesion
    2011-05-22 17:38:33下载
    积分:1
  • adpmov
    自回归滑动平均模型的matlab仿真实验程序(ARMA mode simulation experiment based on matlab)
    2012-10-12 19:59:32下载
    积分:1
  • 57992
    The Economic Dispatch Problem is solved by specialised computer software which should honour the operational and system constraints of the available resources and corresponding transmission capabilities. In the US Energy Policy Act of 2005 the term is defined as the operation of generation facilities to produce energy at the lowest cost to reliably serve consumers, recognising any operational limits of generation and transmission facilities .
    2015-04-08 19:33:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载