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

Insert-matlab-intotext

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

  • GPS
    利用Matlab生成GPS C/A 码的基带信号。 (1)产生卫星PRN 号码为“5”的一组C/A 码; (2)循环生成25 页的导航数据,GPS 时间可填入一固定的已知数值; (3)生成C/A 码扩频信号,每个C/A 码码片给出4 个采样数据; (4)基带信号采用方波信号,电平为0 和1,占空比为50 %,不加入噪声,进一步生成某个特定的中频信号。(Matlab generated using GPS C/A code base band signal. (1) generation of satellite PRN number is " 5" a set of C/A code (2) loop generates 25 of the navigation data, GPS time can fill a fixed known value (3) to generate C/A code spread spectrum signal, each C/A code chip gives the four sampling data (4) baseband signals using square wave signal, level 0 and 1, 50 duty cycle, not to join the noise generated further a specific frequency signal.)
    2020-11-29 15:29:29下载
    积分:1
  • MatlabToolboxiRobotCreate
    matlab toolbox robot create
    2009-12-23 18:29:32下载
    积分:1
  • PlaneTrussElement
    有限元PlaneTrussElement的matlab程序(FEA PlaneTrussElement)
    2013-10-12 23:19:03下载
    积分:1
  • MATLAB-GPS
    基于MATLAB的GPS软件接收机捕获与跟踪算法实现(MATLAB-based software GPS receiver acquisition and tracking algorithm)
    2010-05-15 10:05:36下载
    积分:1
  • signal
    Generating periodical signals in matlab
    2013-09-06 23:11:01下载
    积分:1
  • EMD
    希尔伯特——黄HHT中的EMD分解过程,一个emd模型的版本(Hilbert- Huang HHT in the EMD decomposition process, a model version of the emd)
    2010-01-29 17:36:35下载
    积分:1
  • 80211Matlab_simulink
    80211a simulation plaform with graphics
    2009-07-08 03:16:08下载
    积分:1
  • 3GPP-LTE
    说明:  提出了一种改良的可应用于3GPP-LTE控制信道的信道估计和检测的方法。(A modified control channel can be used in 3GPP-LTE channel estimation and detection methods.)
    2010-04-08 22:04:38下载
    积分:1
  • Lag_polyfit New_polyfit
    拉格朗日插值法和牛顿插值法,matlab软件编程,.m文件(Lagrange interpolation and Newton interpolation, MATLAB software programming,.M file)
    2018-03-18 15:49:26下载
    积分:1
  • QPSK_Sys_identification
    QPSK信号的产生 很好很不错的码源 节省时间 (QPSK signals have a very good source of very good saves time code)
    2010-12-21 19:15:00下载
    积分:1
  • 696516资源总数
  • 106432会员总数
  • 11今日下载