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

Insert-matlab-intotext

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

  • SUOXIANG222
    说明:  锁相环的MATLAB SIMULINK编程,可以供研究锁相环的人员使用(MATLAB SIMULINK programming the phase-locked loop, you can study for the use of Phase-Locked Loop)
    2009-08-04 10:26:48下载
    积分:1
  • F_Score
    this program is utility program for discrimination criteria in channel selection of BCI system based on F_Score criterion.
    2009-06-15 18:23:38下载
    积分:1
  • matlabExample
    一套从入门到精通的Matlab学习教材,附有大量例子,包括神经网络源代码(a proficient from entry to the study and teaching of Matlab, with a large number of examples, including source code neural network)
    2005-08-29 15:04:38下载
    积分:1
  • 01生成标准数据
    对目标轨迹数据加噪声,设置雷达经纬度,提取雷达可视部分(Add noise to target track data, set radar latitude and longitude, extract radar visible part)
    2017-11-07 15:20:23下载
    积分:1
  • prime
    matlab program to find prime numbers
    2012-03-26 13:19:11下载
    积分:1
  • Hessian_point_detector
    hessian point detector 是SURF算法中所采用的基于Hessian矩阵进行的特征点检测方法,检测得到椭圆区域。(feature detector)
    2014-12-19 12:52:48下载
    积分:1
  • DDS4.mdl
    DDS(快速正交调制)生成正弦波形,利用相位累加字进行累加,查找查找表内容输出正弦数据,在通信领域应用很多,我采用的是matlab的simulink进行前期仿真(DDS (fast quadrature modulation) to generate sine wave, the use of the word to accumulate phase accumulation, content output sine lookup table lookup data in many applications in the communications field, I used to pre simulink of matlab simulation)
    2013-11-18 13:48:06下载
    积分:1
  • xuanbiliang
    该程序用有限元方法对变截面悬臂梁进行变形分析。(The program uses finite element method to analyse of variable cross-section cantilever deformation.)
    2020-11-26 15:59:32下载
    积分:1
  • newmark和牛顿威尔逊方法
    将newmark算法和牛顿威尔逊算法综合起来,结合两种算法的优势求解一般性动力学方程,线性和非线性都可以。(The Newmark algorithm and Newton Wilson algorithm are combined to solve the general dynamic equation, both linear and non-linear.)
    2019-04-15 16:50:45下载
    积分:1
  • som_all123
    convert the c code to matlab compatible When executing, you need both c file and the m-file
    2010-11-27 02:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载