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

Insert-matlab-intotext

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

  • mfp
    结合海底环境,采用32元线列阵实现匹配场的定位仿真(Combination of undersea environment, to achieve a 32-element linear array positioning simulation matched field)
    2020-10-28 12:49:58下载
    积分:1
  • svm_demo
    matlab code for SVM Demo
    2015-02-07 13:53:44下载
    积分:1
  • dwadw4
    说明:  切削力随着磨削深度、速度的增大的趋势,这对于切削过程来说是非常重要的,如果增加相应的参数,就会导致不同的结果(The cutting force increases with the grinding depth and speed, which is very important for the cutting process. If the corresponding parameters are increased, the results will be different)
    2020-07-13 14:39:53下载
    积分:1
  • matlab
    录制一段噪声,利用matlab对该材料进行声音的频谱分析。(Record a noise, the use of the material to matlab sound spectrum analysis.)
    2021-02-25 10:59:38下载
    积分:1
  • Morp-image
    this is matlab code to view morping
    2013-03-04 14:56:13下载
    积分:1
  • figure-with-guide
    一个用于matlab的GUIDE界面的输出表格的程序,可以对表格进行设置大小等性质。(A used to GUIDE the output of the interface of the matlab program of form, can be set to form size character and so on.)
    2011-12-13 21:52:45下载
    积分:1
  • Hw2
    Matrix multiplication for two input matrices
    2014-01-27 03:10:47下载
    积分:1
  • symbol-synchronization-algorithm
    H1信道下的ML符号同步算法,symbol synchronization algorithm(H1 channel ML symbol synchronization algorithm)
    2012-05-10 20:28:25下载
    积分:1
  • Gradient-Descent
    最小梯度下降算法,有测试实例,可以直接运行。求最小值,回归都可以(The minimum gradient descent algorithm, test cases can be run directly. For the minimum, return all OK)
    2014-10-14 14:05:50下载
    积分:1
  • amplres
    function [A,w,type,tao]=amplres(h) 《数字信号处理教程——MATLAB释义与实现》子程序 给定FIR滤波器系数求滤波器符幅特性(function [A, w, type, tao] = amplres (h) " digital signal processing tutorial- MATLAB Interpretation and Implementation" procedure FIR filter coefficients of a given symbol rate filter characteristics of demand)
    2010-06-26 11:36:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载