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

Insert-matlab-intotext

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

  • automotive_muffler
    利用有限元分析,模拟汽缸中声波的传播,这是一个多物理场问题(Finite element analysis, wave propagation simulation in the cylinder, which is a multi-physics problems)
    2010-09-25 12:35:59下载
    积分:1
  • MatlabEngineer
    matlab与c联合开发类 VC调用matlab(call matlab in VC++6.0)
    2010-05-27 10:07:53下载
    积分:1
  • WiMAX_Forum_Mobile_System_Profile_v1_5_0
    WiMAX Forum Mobile System Profile Release 1.0 Approved Specification (Revision 1.5.0: 2007-11-17)
    2010-10-13 20:25:19下载
    积分:1
  • lms1
    自适应lms算法的程序 最后三张图包括系统输入输出图,实际和估计权值的比较 误差曲线(Lms adaptive algorithm for the procedure, including the last three map system input-output map, the right of the actual and estimated values of the error curve)
    2009-06-11 19:30:59下载
    积分:1
  • MatlabFiles
    1-Mapped element computations 2-Analysis of Elastic Solids 3-Solids of Revolution 4-Multi-Field Formulations for Beam Elements 5-Multifield Formulations for Analysis of Elastic Solids
    2012-01-07 01:29:00下载
    积分:1
  • An-Extended-Dynamometer-Setup-to-Improve-the-Accu
    Toward Privacy Preserving and Collusion Resistance in a Location Proof Updating SystemToward Privacy Preserving and Collusion Resistance in a Location Proof Updating SystemToward Privacy Preserving and Collusion Resistance in a Location Proof Updating System
    2013-12-12 20:14:26下载
    积分:1
  • matlab
    说明:  雷诺方程的有限差分法求解以及相关程序的实现思路(The finite difference method of Reynolds equation and the realization of related programs)
    2020-11-11 11:05:01下载
    积分:1
  • findindweights
    image compression with neural network
    2010-12-07 18:29:45下载
    积分:1
  • Hough-circle-detection
    说明:  本压缩包是利用霍夫变换来处理圆角边界问题(This archive is the use of Hough transform to deal with border issues fillet)
    2011-03-01 20:40:19下载
    积分:1
  • ofdmvsQAM
    说明:  该程序包括了ofdm和qam两种调制的matlab仿真程序,并对两种调制方式进行了对比分析并仿真。(the program includes two QAM OFDM modulation and the Matlab simulation program, and two modulation methods for comparative analysis and simulation.)
    2006-04-10 00:42:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载