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

Insert-matlab-intotext

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

  • 0000888
    个人觉得很不错,值得一看,大家有兴趣的可以看看(Personally feel very good, worth a visit, we are interested can look at)
    2010-02-23 19:29:01下载
    积分:1
  • holography
    matlab编写的全息程序,主要用于计算全息以及数字再现,(matlab prepared holographic program, mainly used to calculate the hologram and digital reproduction,)
    2021-04-15 10:18:54下载
    积分:1
  • YunQiPaiBan
    一个简单的文本匀齐排版程序源代码,基于WIN32控制台的(A simple text smoothing Qi typesetting program source code, based on WIN32 console)
    2010-01-05 13:29:56下载
    积分:1
  • MATLABProgrammingportal
    MATLAB编程入门,适合初学者的学习,如果有需要的请下载。。。(Getting Started with MATLAB programming, suitable for beginners to learn, if necessary, download. . .)
    2010-12-02 17:18:35下载
    积分:1
  • lms-matlab
    说明:  matlab仿真的lms自适应滤波的算法代码(matlab simulation of the lms algorithm)
    2011-03-05 14:52:01下载
    积分:1
  • Matlab-PPT
    matlab 基本知识,基本概念和语法规则,编程技巧。武汉大学教学用的课件(matlab basic knowledge, basic concepts and syntax rules, programming skills. Wuhan University teaching courseware)
    2011-06-21 00:20:54下载
    积分:1
  • SA
    说明:  带约束算子的粒子群算法,用于matlab环境,对于搞研究的教师有很大帮助(Operator Constrained Particle Swarm Optimization for the matlab environment, engage in research for teachers are very helpful.)
    2010-04-08 18:02:04下载
    积分:1
  • Harris_conner_detection
    Harris_conner_detection,用MATLAB实现Harris角点检测算子的源码,用于特征点提取及图像配准等。(Harris_conner_detection, use MATLAB to achieve Harris corner detection operator of the source code for the feature point extraction and image registration and so on.)
    2009-01-02 16:10:43下载
    积分:1
  • crosscorr
    Another source code to compute a crosscorrelation between two preferred pairs... useful like sub routine in your proper matlab routine...
    2010-11-28 22:52:24下载
    积分:1
  • rumen.rar
    matlab 从入门新手到精通的高手 细致认真的讲解(matlab novice from entry to master proficient in detailed explanations carefully)
    2008-05-24 21:06:57下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载