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

Insert-matlab-intotext

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

  • wave
    这里面是关于微波技术的一些试验程序,和仿真模型,主要有微带线,带状线,功率分配器,支节匹配器(This is on microwave technology, which some experimental procedures, and simulation models, mainly microstrip, stripline, power divider, branch of the matcher)
    2010-06-22 19:45:27下载
    积分:1
  • fminlbfgs_version2
    可以实现大规模的bfgs功能,进行目标函数的最优化求解,即L-BFGS(Can achieve large scale bfgs function, the objective function is the most optimal solution, ie, L-BFGS)
    2021-04-11 10:28:59下载
    积分:1
  • Matlab
    利用matlab对图片频域变换、加噪声、计算SNR PSNR,对音频进行处理包括提取高音、低音、并对其进行调制解调(Using matlab frequency domain transform of the picture, add noise to calculate the SNR PSNR of audio processing including the extraction of treble, bass, and its modulation and demodulation)
    2012-04-02 16:28:34下载
    积分:1
  • depth
    3 D Depth reconstruction
    2010-08-29 19:00:42下载
    积分:1
  • mimo2x2_BSPSK.m
    mimo2*2 alamouti编码方式仿真程序. ber的图和alamouti论文的图一样。(mimo2* 2 alamouti encoding simulation program. ber of the map and graph paper as alamouti.)
    2010-05-06 23:21:26下载
    积分:1
  • ooc
    正交扩频码ooc的matlab代码。五个用户情况(Orthogonal spreading code of the matlab code for ooc. Five users of)
    2009-10-21 09:13:24下载
    积分:1
  • Matlabs-GUI-Src.rar
    Matlab之GUI源码 非常有用的代码(matlab s gui source code)
    2011-09-28 19:35:40下载
    积分:1
  • positioning-algorithm
    这是一种使用matlab语言,权值定位方法实现的室内定位的算法源码,代码在matlab环境下模拟一个场景随机生成一个位置,然后使用此代码找到此位置。(This is a matlab language, weights positioning method of indoor positioning algorithm source code in Matlab environment simulate a the scene randomly generated a position, and then use this code to find this location.)
    2012-11-01 21:25:57下载
    积分:1
  • keypointExtraction
    matlab code to extract key points.
    2012-01-02 18:34:15下载
    积分:1
  • MatlabFunctions
    matlab basics tutorial
    2015-04-10 10:21:46下载
    积分:1
  • 696518资源总数
  • 104432会员总数
  • 16今日下载