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

Insert-matlab-intotext

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

  • nMatReg
    这是一个基于线性矩阵的神经网络控制程序,它比普通的更简单,因为其应用的参数较少。(This is a learning model for matrix-based data. It can be more efficient than standard vector-based models when the training sample is small or the inputs are matrices, since this model has less parameters than standard ones and exploits an inner structure of the inputs)
    2009-04-02 19:33:05下载
    积分:1
  • Xunijilifa
    虚拟激励法在汽车工程中的应用示例,可以求振动的功率谱密度。(THE APPLICATION OF MULTIPLE-POINT PSEUDO EXCITATION METHOD TO TRACKED AMBULANCE VIBRATION-REDUCTION SYSTEM RANDOM VIBRATION ANALYSIS)
    2014-01-26 19:41:03下载
    积分:1
  • matlab-tutor
    This is a tutorial to help you get started in Matlab. To find more details see the very helpful book Mastering MATLAB 6 by Duane Hanselman and Bruce Littlefield. Examples of Matlab code in this pamphlet are in typewriter font like this. As you read through the sections below type and execute in Matlab all of the examples, either at the  command line prompt or in a test program you make called test.m. Longer sections of code are flagged with the characters begin and end. All of the Matlab code between these two
    2009-07-06 14:40:53下载
    积分:1
  • yuyinxinhaoSTFT
    对采集的语音信号进行不同加窗的STFT分析(Voice signals on the collection of window STFT analysis of different)
    2010-05-05 20:24:53下载
    积分:1
  • My_HermitePolynomial
    计算高斯Hermite多项式的Matlab程序,并绘制2维和3为高斯Hermite多项式图。(Gaussian Hermite polynomial calculation Matlab program, and draw two-dimensional and three Gaussian Hermite polynomial map.)
    2013-11-02 16:54:35下载
    积分:1
  • simulate1
    直接序列扩频(DS)原理的仿真程序,通过该程序你可以很好地理解直接序列扩频原理。(Direct Sequence Spread Spectrum (DS) The principle of simulation program, through the program you can very well understand the principle of direct sequence spread spectrum.)
    2008-03-27 21:19:31下载
    积分:1
  • add-noise
    添加随机白噪音方法,用于时序仿真分析,仅供参考!(Add noise for simulation)
    2013-10-16 14:59:52下载
    积分:1
  • 4e611c8bb89e
    用matlab实现EM算法,进行聚类分析。-(EM algorithm using matlab realize, cluster analysis.-)
    2015-03-22 20:00:39下载
    积分:1
  • LABEX8
    提供了集中语音去噪的matlab代码,并提供了相应的声音文件(Provides a centralized voice denoising matlab code, and provide the corresponding sound files)
    2008-08-11 21:39:29下载
    积分:1
  • ScopeMath_v2.4
    基于matlab开发的使用agilent示波器程序(Matlab-based program developed using the agilent oscilloscope)
    2011-05-19 10:39:20下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载