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

Insert-matlab-intotext

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

  • addmulc
    Addition and multiplication of signals may favour Quality improvement, such as noise reduction, image enhancement, and echo cancellation
    2013-07-19 14:36:45下载
    积分:1
  • gda
    This file is subject to the terms and conditions of the GNU General Public License. See the file COPYING in the main directory of this archive for more details.
    2014-09-26 10:24:26下载
    积分:1
  • xitongyz
    高压共轨系统matlab/simulink仿真模型(high pressure common rail system simulation in matlab)
    2014-12-25 10:36:49下载
    积分:1
  • mems_controller_final
    It is one of the files which will help in designing the biped simulation model by controlling it through regression model.
    2015-04-12 18:38:42下载
    积分:1
  • eetop.cn_pll_integer_N
    整数锁相环的malab 建模与仿真程序 用于行为及的验证与仿真 对PLL建模有好处(simulink of integer PLL simulation model and testbench )
    2014-12-09 15:33:34下载
    积分:1
  • A_very_fast_direct_torque_control_for_interior_per
    说明:  基于maltab/simulink开发的永磁同步电机的直接转矩控制(DTC)的一种方案,能快速的启动电机,各种启动参数都比较好。(Based on maltab/simulink development of permanent magnet synchronous motor direct torque control (DTC) of a program, can quickly start motor, better than a variety of startup parameters.)
    2008-10-26 09:46:21下载
    积分:1
  • ask-fsk-psk
    Different Modulation schemes are here! like ask, fsk, psk etc!
    2013-10-07 22:03:36下载
    积分:1
  • mabpsk
    bpsk编码实现双继通道的物理层网络编码(BPSK Coding dual step-channel physical layer network coding)
    2021-01-12 17:18:48下载
    积分:1
  • 64QAMRayleigh
    64 QAM rayleigh figure
    2010-10-23 04:28:18下载
    积分:1
  • HA
    说明:  为了测试助听器减少声反馈的应用程序;LMS算法;Matlab程序(Application Program to Test Acoustic Feedback Reduction for Hearing Aids )
    2014-09-28 13:24:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载