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

Insert-matlab-intotext

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

  • invLeastSquaresWe
    线性反演的最小方差反演算法 MATLAB程序(Minimum variance of the linear inversion inversion algorithm MATLAB program)
    2012-05-25 09:16:27下载
    积分:1
  • 373901518KPCA
    核函数主成分分析,用于数据的特征提取,对于训练样本的降维有较好的效果(Kernel principal component analysis, feature extraction for data, which can effectively reduce the dimension of training samples, the better)
    2015-03-19 08:55:01下载
    积分:1
  • 0.618
    线性搜索,用0.618法求解方程的解,方便快速的找到方程的解(Linear search method with 0.618 equation, conveniently and quickly find the equation)
    2009-03-19 19:38:45下载
    积分:1
  • feijidinywei
    说明:  飞机定位问题在航空的应用是十分广泛的,此源码是用matlab实现的,能够准确模拟出飞机在空中的定位。(positioning of the aircraft in the aviation application is very extensive, the source is realized using Matlab, to accurately simulate aircraft in the air positioning.)
    2006-04-18 10:32:37下载
    积分:1
  • pso_threshold-segmentation
    图像阈值分割,为确定图像分割的最佳阈值,基于粒子群优化算法提出了一种多阈值图像分割方法(Image segmentation, image segmentation to determine the optimal threshold value, based on particle swarm optimization algorithm proposes a multi-threshold image segmentation)
    2021-04-13 11:08:56下载
    积分:1
  • Sparse-decomposition
    实现信号的稀疏分解,基本的分解,优化为互相关,再优化为fft(Realization of signal sparse decomposition, basic decomposition, optimization of cross-correlation, optimization for FFT)
    2012-04-17 22:49:07下载
    积分:1
  • ASM3
    说明:  cootes提出的ASM算法的matlab实现。在cootes用于课堂使用的源代码的基础上改写。改正了原来代码中的一些错误,加入了方便使用的样本训练标注保存环节。供图像分析处理,模式识别,人工智能研究者使用。(the ASM Algorithm Implementation of Matlab. Cootes used in the classroom use of the source code on the basis rewritten. To correct the original source of some mistakes, joined the ease of use of training samples preserved tagging links. For image processing, pattern recognition, artificial intelligence researchers.)
    2006-03-12 21:32:46下载
    积分:1
  • usps_16x16_raw
    完整的mat格式的USPS手写字府库,里面包括7291个训练样本和2007个测试样本(USPS handwritten database of mat format,include 7291 cases for training and 2007 cases for testing.)
    2011-05-04 17:17:41下载
    积分:1
  • matlab--project1-Mfile
    关于matlab软件用法的介绍,及教程 (线性系统方面的应用)( Soft Introduction to Matlab Demonstration of Numerical Computations Create vectors, sample sinusoids and Chirp Signals Generate and plot Continuous-time and Discrete-time signals )
    2014-02-15 06:39:26下载
    积分:1
  • apfmoudle
    有源电力滤波器是用于动态抑制谐波、补偿无功的新型电力电子装置,控制并主动输出电流的大小、频率和相位,并且快速响应,抵消负载中相应电流,实现了动态跟踪补偿,而且可以既补谐波又补无功和不平衡。(APF:Active power filter)
    2020-06-21 16:40:01下载
    积分:1
  • 696516资源总数
  • 106627会员总数
  • 16今日下载