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

Insert-matlab-intotext

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

  • MapleandMATLAB
    用Maple和MATLAB解决科学计算问题(第三版).pdf(Using Maple and MATLAB to solve problems in scientific computing (third edition). Pdf)
    2007-09-07 21:09:39下载
    积分:1
  • cdma_coding
    cdma coding mod and demod
    2006-12-12 07:53:13下载
    积分:1
  • spams-matlab-v2.3-svn2012-07-19.tar
    matlab实现spase 优化,效果很是不错,算法也简洁(matlab to achieve spase optimization)
    2012-08-15 21:30:23下载
    积分:1
  • msp_matlab
    多处理器调度 均场退火matlab程序,100%能运行(Multi-processor scheduling matlab mean field annealing procedure, 100 will be able to run)
    2008-02-21 15:14:56下载
    积分:1
  • coolsys1
    主要是基于simulink的船舶冷却水系统的建模与仿真(The ship is mainly based on simulink cooling water system modeling and simulation)
    2021-04-25 22:58:45下载
    积分:1
  • ConvHull2D300409
    color code segentation detection
    2010-09-06 02:44:44下载
    积分:1
  • chengxu
    说明:  认知无线电中频谱感知技术的AM信号能量检测技术和周期平稳检测技术(Spectrum sensing in cognitive radio technologies AM signal energy detection and cyclostationary detection)
    2021-04-12 12:28:57下载
    积分:1
  • Traveling-salesman
    旅行商问题:全国省会二维坐标如图30所示,基于遗传算法设计从黑龙江到西藏,并遍历全国各省会(每个省会只经过一次)的最短路径(Traveling salesman problem: two-dimensional coordinates of the national capital as shown in Figure 30, based on genetic algorithm design from Heilongjiang to Tibet and traverse the provinces (each provincial capital only after a) the shortest path)
    2013-11-21 09:02:22下载
    积分:1
  • diversitycomp
    different Diversity techniques comparision in wi max
    2011-12-21 15:09:45下载
    积分:1
  • kalman
    处理一段语音的卡尔曼滤波,配合以LPC模型求转移矩阵参数(Processing a voice of Kalman filtering, in line with the LPC model parameters seeking transfer matrix)
    2015-03-31 10:55:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载