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

Insert-matlab-intotext

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

  • Projectile-launch-angle-problem
    炮弹发射视为斜抛运动,已知初始速度为200m/s,问要击中水平距离360m、垂直距离160m的目标,当忽略空气阻力时,发射角应多大?此时炮弹的运行轨迹如何?(Projectile launch angle problem )
    2011-05-26 00:19:53下载
    积分:1
  • FMT_AWGN_BSE_DFE_SER
    This file is used to simulate performance of the FMT system with different modulation method in baseband。(该程序主要实现FMT系统差分编码下基带误码率分析!)(This file is used to simulate performance o f the FMT system with different modulation meth od in baseband. (The procedure main difference FMT system under the base-band coding error rate analysis!))
    2007-05-19 10:08:08下载
    积分:1
  • xianxing-
    一元线性回归matlabMatlab 统计工具箱用命令regress 实现多元线性回归,用的方法是最小二乘法,用 法是: b=regress(Y,X)(A linear regression matlabMatlab statistical toolbox to achieve the command regress multiple linear regression, least squares method is used, usage is: b = regress (Y, X))
    2011-08-17 16:35:22下载
    积分:1
  • SimulationofGMSKsignal
    通过仿真得到 信号误码率与信噪比的关 系, 从而为实际中 调制和解调 系统设计提供一定的理论依据。 同时 , 通过仿真技术的探讨 , 以期能为 专业教学改革提供一些新的思路(Received signal through the simulation bit error rate and SNR, in order to practice the design of modulation and demodulation system to provide a theoretical basis. At the same time, the adoption of simulation technology with a view to a professional teaching reform to provide some new ideas)
    2009-03-22 08:45:28下载
    积分:1
  • SFCcalc
    calculate Specific Fuel Comsuption
    2012-05-31 02:38:30下载
    积分:1
  • erciqumian1
    本程序为用matlab实现高等数学中的二次曲面图像的绘制(the procedure for senior math figure)
    2013-08-17 21:38:33下载
    积分:1
  • ANN
    RBF网络在matlab环境中的开发,从数据输入到网络各项参数的调整都包含其中(program of RBF )
    2013-08-22 22:51:51下载
    积分:1
  • LDPC-Coding
    Matlab code ofLDPC coding
    2011-10-14 17:17:26下载
    积分:1
  • xiaobo_matlab
    用不同的函数求得阈值进行消噪,希望对大家有用(The threshold denoising obtained with the different functions the hope that useful)
    2012-11-14 22:31:22下载
    积分:1
  • abaqusThe-dynamic-analysis-method
    abaqus中的动态分析方法,含有inp、for文件希望能给动态分析,提供点参考(Methods of dynamic analysis of abaqus, containing the inp, hope can give a dynamic analysis for file, provide a point of reference)
    2015-01-07 15:40:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载