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

Insert-matlab-intotext

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

  • PNN
    PNN 概率神经网络 matlab程序源程序 写过才知道好使~(PNN probabilistic neural network matlab program source code written to know so that ~)
    2013-01-04 19:58:55下载
    积分:1
  • kmean
    k均值的分析与,图解,自己亲自测试,能用并且很好(k-mean analysis, diagrams, personally testing, use and well)
    2012-05-04 11:54:53下载
    积分:1
  • aplsc_code
    PLS分类,主要用于多数类与少数类的分类。(pls classifier)
    2012-09-16 17:51:19下载
    积分:1
  • 81404610Tsai
    根据图像的世界坐标和在照片中的坐标,计算出摄像机的各个参数(Camara Calibration )
    2013-04-12 17:57:03下载
    积分:1
  • bb
    说明:  主要指令:butter(产生巴特沃斯滤波器);freqz(绘制幅频、相频曲线);zplane(绘制零、极点图);ss2zp(状态方程变零、极点);zp2tf(零、极点变分式多项式)。(Main instruction: butter (produced bart wo filter) Freqz (draw amplitude frequency, phase frequency curve) Zplane (draw zero, poles chart) Ss2zp (state equation is zero, poles) Zp2tf (zero, pole change fraction polynomial). )
    2012-05-08 16:38:09下载
    积分:1
  • drawfaces
    geometric shape modeling2
    2011-11-28 15:57:11下载
    积分:1
  • chebyshev2_rule
    CHEBYSHEV2_RULE is a MATLAB program which generates a specific Gauss-Chebyshev type 2 quadrature rule, based on user input. The rule is written to three files for easy use as input to other programs.
    2011-12-02 05:46:31下载
    积分:1
  • Chared-ICA-Code
    殖民竞争算法代码(CCA)也被称为帝国主义的竞争算法(ICA),这是其在matlab中的实现。 (Colonial competitive algorithm codes (CCA) is also known as imperialist competitive algorithm (ICA), which is in its implementation in matlab.)
    2016-05-27 13:33:47下载
    积分:1
  • NonLinear
    DVR system in SIMULINK
    2014-02-01 16:06:15下载
    积分:1
  • ezyfit
    mathworks也提供Curve Fitting Toolbox,不过要钱,这是一个一维Curve Fitting的工具包,提供命令行和GUI接口。(MathWorks also offers Curve Fitting Toolbox, but for money, this is a one-dimensional Curve Fitting tool kit, providing the command line and GUI interface.)
    2007-09-02 13:06:08下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载