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

Insert-matlab-intotext

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

  • ecde6de1eff1
    说明:  svpwm的matlab仿真主要利用matlab进行svpwm生成的PARK变换、Park逆变换、波形输出等(svpwm the matlab simulation using matlab for svpwm mainly generated PARK transformation, Park inverse transform, waveform output, etc.)
    2011-03-07 16:56:17下载
    积分:1
  • Malthus_Model
    Malthus_Model模型的原形,以及包括绘图的源代码。希望对正在学习的你有帮助。(Malthus_Model prototype model, and includes source code for the drawing. Hope you are learning to help.)
    2011-05-05 23:17:34下载
    积分:1
  • BaseStepPso
    基本粒子群算法的部分代码,有详细注释,适合初学者(PSO part of the code, there are detailed notes, suitable for beginners)
    2014-08-06 14:21:47下载
    积分:1
  • VSP example
    This file is a solution for vertical seismic profile -example
    2020-07-04 13:00:02下载
    积分:1
  • yuyinjipin
    加入3点或5点中值平滑处理后再绘制上述基频曲线与未平滑曲线比较,观测完整一段话音的基频包络变化情况(Add to 3:00 or 5:00 in the value of the smoothing then draw the base frequency curve is not a smooth curve compared with the observed period of complete voice baseband envelope changes)
    2014-02-21 13:17:20下载
    积分:1
  • polarization-of-electromagnetic-wave
    在matlab平台上对线极化、圆极化、椭圆极化电磁波的电场和磁场的情况进行仿真(On the platform of the situation matlab linear polarization, circular polarization, elliptical polarization of electromagnetic waves and magnetic field simulation)
    2020-12-14 16:09:14下载
    积分:1
  • MatlabWork0
    说明:  vhdl 初学例程,对于初学者有很大的参考价值哦(VHDL beginner routines for beginners have great reference value oh)
    2006-04-02 01:50:12下载
    积分:1
  • 可以识别英文字母用MatLAB打开即可
    可以识别电子文档,图片和手写的英文字母,用MatLAB打开即可(It can recognize electronic documents, pictures and handwritten English letters. It can be opened with MatLAB.)
    2020-07-04 16:00:02下载
    积分:1
  • edge-detection-code
    已验证的效果不错的边缘检测matlab代码(Good results have been validated edge detection matlab code)
    2011-05-03 23:13:40下载
    积分:1
  • Lyapunov_3_Terra
    基于定义法计算Lyapunov指数。只要在matlab命令窗口中直接输入文件中函数的名称即可。(calculated based on the definition of Lyapunov exponent. Matlab as long as the order window directly onto the document function name instead.)
    2007-05-22 19:47:49下载
    积分:1
  • 696518资源总数
  • 104432会员总数
  • 16今日下载