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

Insert-matlab-intotext

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

  • chap_10
    matlab从入门到精通第9章书后源码对初学者很有帮助(matlab)
    2009-03-19 06:14:46下载
    积分:1
  • multi-Lantern
    多路彩灯,自己编的,大家可以参考!不是很好,请见谅(Multi-Lantern own compiled, we can refer to! Not very good, please forgive me)
    2009-12-04 18:12:33下载
    积分:1
  • svm
    利用林智仁教授的libsvm工具箱实现支持向量回归预测的例子,包括训练及预测过程(Professor Lin Zhiren use of libsvm toolbox support vector regression prediction examples, including training and prediction process)
    2016-03-14 10:33:30下载
    积分:1
  • dengfuqin
    说明:  一个matlab程序,是一条分形线函数的动态绘制,对数学分形编程有很大启发作用.(a Matlab procedure is a fractal function of the dynamic line drawing, right fractal mathematical programming with inspirational role.)
    2006-03-08 21:40:31下载
    积分:1
  • lyapunov
    lyapunov指数总结,讲的很详细,是学习的好资料,大家快下载吧(Lyapunov index, speak very detailed, is learning good information, everyone to download)
    2013-09-02 19:00:26下载
    积分:1
  • mems_controller_final
    It is one of the files which will help in designing the biped simulation model by controlling it through regression model.
    2015-04-12 18:38:42下载
    积分:1
  • 71558
    说明:  dea in matlab for windows
    2020-06-20 15:00:01下载
    积分:1
  • zavarei
    zavarei papre implementation in 2004
    2010-12-22 15:00:39下载
    积分:1
  • 9
    说明:  精通MATLAB优化计算算法,非线性最小二乘问题。共3个程序。(Proficient in MATLAB optimization calculation algorithm, nonlinear least squares problems. A total of three procedures.)
    2010-03-24 09:48:04下载
    积分:1
  • Subcarrier-allocation-algorithm
    多用户多速率OFDM中的子载波分配和功率控制参考文献(Subcarrier allocation and power control in multi-user multi-rate OFDM)
    2012-04-30 00:09:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载