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

Insert-matlab-intotext

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

  • Kmeans
    kmeans 实现2维情形的聚类,自己编写的一个matlab实现(kmeans )
    2010-11-21 16:02:49下载
    积分:1
  • sea
    海岸线插值与拟合过程,并画图显示其效果图(Coastline interpolation and fitting process, and drawing show)
    2011-01-05 10:29:38下载
    积分:1
  • 2009_icra_robuffogiordano
    On the Kinematic Modeling and Control of a Mobile Platform Equipped with Steering Wheels and Movable Legs
    2015-01-11 02:25:43下载
    积分:1
  • hilbert
    hilbert变换的程序,输入一个时间序列,既可以得到希尔伯特变换之后的复信号,输出结果是复信号(hilbert transformation)
    2013-05-15 11:09:02下载
    积分:1
  • Linear regression
    将线性模型拟合为线性或二次数据。 它是一个演示线性回归的脚本。 有益于学习(Fit a linear model to linear or quadratic data)
    2020-06-23 11:00:02下载
    积分:1
  • EBMA
    用MATLAB实现基于块匹配算法的运动估计,使用的算法是EBMA,能运行处结果的。(Using MATLAB to achieve block-matching algorithm based on motion estimation, using the algorithm is EBMA, can run office results.)
    2010-07-08 22:13:55下载
    积分:1
  • dual_bridge_converter
    simulink model of dual bridge ac to dc converter. the important thing it is in open loop. it is for study purpose..
    2011-09-22 21:58:00下载
    积分:1
  • Wound-detection-from-image-captured-with-live-cam
    Wound detection image captured with live camera With this code we can automatically identify the wound in human body and its area.
    2014-12-16 01:55:14下载
    积分:1
  • Tutorial_matlab
    Matlab Tutorial for students
    2011-12-14 03:14:01下载
    积分:1
  • matlab中替代数据法子函数 surrogate
    matlab中替代数据法子函数,已调试通畅,直接调用,无需折腾。(Alternative data in another way matlab function, debugging smooth, direct calls, no toss.)
    2015-04-15 17:10:06下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载