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

Insert-matlab-intotext

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

  • clusters
    该算法包包含了hierichal,kmeans,em聚类算法,非常实用。(The algorithm package contains hierichal, kmeans, em clustering algorithm is very practical.)
    2008-02-19 14:50:12下载
    积分:1
  • huise1
    说明:  灰色预测源代码,实现GM1灰色理论进行灰色预测(Grey source code, to achieve GM1 Grey Grey theory)
    2010-05-05 09:37:19下载
    积分:1
  • ee
    说明:  program of detection points
    2010-10-10 23:51:53下载
    积分:1
  • agilent_wimax_ofdm
    AGILENT关于OFDMA设计的难得的参考资料(This application note is a guide to effective measurement and troubleshooting of IEEE 802.16e OFDMA “Mobile WiMAX” signals, components, and systems. The most distinctive term used to describe this new technology is OFDMA or orthogonal frequency division multiple access, and therefore we will use the term OFDMA in this note as a compact reference to the signal and its associated standard.)
    2009-11-17 17:04:08下载
    积分:1
  • Fig2ab
    这是一个可以实现光学微环谐振滤波器的FSR加倍的程序。(This is a process which can double the FSR of optical micro-ring resonator filter.)
    2013-07-11 09:21:14下载
    积分:1
  • yingyong
    matlab开发学生成绩管理,比较有启发性。(the development of student achievement management matlab)
    2009-05-21 20:06:37下载
    积分:1
  • mianji
    用于检测面积的 用于检测面积的 能用的程序(Procedures for the detection area can be used for detecting the size)
    2013-04-26 18:08:36下载
    积分:1
  • Freq_domain_fitlering
    Frequency domain filtering written in matlab
    2010-12-23 03:34:40下载
    积分:1
  • In-matlab-simulation-of-svpwm
    在matlab上对svpwm进行仿真,其中要注意,仿真算法选择obd23tb,仿真时间为0.06s。(In matlab simulation of svpwm, which pay attention to the simulation algorithm selection obd23tb, simulation time is 0.06s.)
    2011-06-17 10:22:56下载
    积分:1
  • uni
    用于坐标转换 空间球形极坐标转化为空间直角三维坐标(For spherical polar coordinates space coordinate conversion into rectangular space three-dimensional coordinate)
    2014-09-14 20:06:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载