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

Insert-matlab-intotext

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

  • table_quality
    program which reads a TABLE file of N points in M dimensions, in the unit hypercube, and returns estimates of the quality of the point dispersion
    2009-06-06 21:16:56下载
    积分:1
  • Software-radio-GSM
    在MATLAB下的一个对基带信号的采样变频至中频。GSM基站的接收频段为890~915 MHz。(A baseband signal sampling frequency to frequency under MATLAB. Receiving frequency band GSM base station is 890 ~ 915 MHz.)
    2015-04-07 20:46:31下载
    积分:1
  • Matlab-jiangyi
    MATLAB讲义,适合初学者,简单明了,包含全面(MATLAB lecture notes, suitable for beginners, simple, includes comprehensive)
    2011-05-16 17:03:03下载
    积分:1
  • KalmanforMS
    Kalman滤波在跟踪轨迹时的使用,得到更好的图像(The use of Kalman filter in tracking trajectory, get a better image)
    2014-09-21 21:46:24下载
    积分:1
  • 人脸库代码
    说明:  资料为基于BP基于BP神经网络的人脸识别源码(matlab),是课程设计做的一个课题,效果还不错,配备有测试显示界面,比较直观!(The data is the source code of face recognition based on BP neural network (matlab), which is a subject of curriculum design. The effect is good, equipped with test display interface, which is more intuitive!)
    2020-03-31 13:24:41下载
    积分:1
  • ameliorationofchannelestimation
    此程序实现了一种改进的ofdm下的信道估计方法,综合了以往的几种内插方法,并加以改进(This program realise a new channel estimation beneath the ofdm system combining several former intersecting method.Furthermore, certain ameliorations are also being done.)
    2009-12-12 20:45:11下载
    积分:1
  • gafortsp
    用遗传算法实现TSP旅行商问题,MATLAB源码(Using Genetic Algorithm for Traveling Salesman Problem TSP implementation, MATLAB source)
    2009-03-30 10:01:08下载
    积分:1
  • sh_hydraulic_system_with_servo_valve
    说明:  伺服阀的详细数学模型,适合初学者研究,可以较方便更改(A detailed mathematical model of servo valve, suitable for beginners study, can be more convenient to change)
    2010-03-18 04:11:01下载
    积分:1
  • OFDM1122
    OFDM在MATLAB仿真软件下的仿真,很有用,很基础,很重要。(OFDM simulation in the matlab. it is very basic code and importent. )
    2010-05-16 12:15:25下载
    积分:1
  • karmaa
    现代数字信号处理中的卡尔曼滤波的matlab实现,通过迭代逼近真实值。(Kalman filter matlab modern digital signal processing to achieve through the iterative approximation of the true value.)
    2012-09-21 00:05:05下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载