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

Insert-matlab-intotext

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

  • N_wKA_new
    SAR成像的wk算法,三大经典算法之一,根据Cumming的那本书编写(wka for SAR imaging)
    2020-12-05 16:49:23下载
    积分:1
  • DWT
    ThreeLevelDWT. it explain different level and ycrcb
    2011-10-17 17:34:30下载
    积分:1
  • matlab
    说明:  基于线性控制的分数阶统一混沌系统的同步的仿真设计(Synchronization of Fractional Order Unified Chaotic Systems Based on Linear Control)
    2019-05-09 01:05:44下载
    积分:1
  • matlab
    说明:  经典算法的程序代码,微分方程的计算方法等等(Classical algorithm code, the calculation of differential equations, etc.)
    2010-04-21 10:41:20下载
    积分:1
  • SpeechEnhancement_SS
    Speech Enhancement Using Spectral Subtraction A Spectral Subtraction implementation for speech enhancement using MATLAB 6.5
    2010-05-11 15:52:45下载
    积分:1
  • identify
    用神经网络的方法来自动识别2FSk/2PSK/2ASK(Method using neural networks to automatically identify 2FSk/2PSK/2ASK)
    2013-01-09 16:13:20下载
    积分:1
  • int_gl
    高斯勒让德公式,利用高斯勒让德两点公式计算积分,(Chrysler let Germany formulas, Chrysler let Germany two o' clock integral formula)
    2013-02-02 21:00:29下载
    积分:1
  • OFDM
    完美的OFDM系统的MATLAB仿真程序,希望对研究OFDM的同志有所帮助(Perfect simulation program MATLAB OFDM system, in the hope of OFDM help comrades)
    2010-10-11 17:09:27下载
    积分:1
  • CBBO
    混沌BBO算法求解电力调度问题,包括对测试函数的测试以及求解电力经济调度问题(Chaos BBO algorithm for power scheduling problems, including the test function testing and problem solving economic dispatch of power)
    2021-04-10 21:48:58下载
    积分:1
  • matlab--7-4code
    7-4线性分组码源代码在matlab中的程序实现,矩阵,信息为和校验位(7-4 linear block code source code in the matlab program implementation, matrix, for information and check digit)
    2015-04-21 10:07:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载