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

Insert-matlab-intotext

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

  • mianzhen
    平面阵的方向图程序 16*16元面阵的指向性图(Planar array pattern program 16* 16 per plane array directivity)
    2011-04-26 22:32:01下载
    积分:1
  • MPSK
    this is a matlab program for M array PSK modulation
    2009-12-11 05:25:26下载
    积分:1
  • rootmusic
    frequency estimation using Root Music
    2011-08-07 20:06:53下载
    积分:1
  • FILTROS_PASABANDA_INSERTAR_DATOS
    calculo de parámetros microstrip filtros pasabanda III orden
    2012-09-22 05:30:01下载
    积分:1
  • RLS
    自己编写的递推增广最小二乘算法,有意者可以参考(I have written Recursive Extended Least Squares algorithm, Interested parties can refer to the)
    2009-11-28 14:28:09下载
    积分:1
  • turbo
    说明:  turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型turbo是一种极好的码型(用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码用于编码)
    2010-04-06 14:23:03下载
    积分:1
  • IEEE-1394
    IEEE1394的相关介绍,是1394入门的首选!强烈推荐朋友们(IEEE1394 relevant, the portal is the first choice for 1394! Strongly recommend friends to s)
    2006-11-29 11:08:12下载
    积分:1
  • xianxingfenzu
    基于matlab的7-4线性分组器设计,简单易懂,有界面(7-4 matlab-based linear block design, easy to understand, interface)
    2013-11-09 16:47:44下载
    积分:1
  • absbrake
    three level inverter using dc source
    2014-02-11 04:15:13下载
    积分:1
  • TIac
    TI公司的交流电机控制仿真的Matlab程序,很有用的啊,大家快下吧(AC motor control simulation of the Matlab program, very useful ah, everyone under the bar fast)
    2009-11-10 13:05:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载