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

Insert-matlab-intotext

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

  • matlab_dspbuildings
    matlab dsp building 工程欢迎下载(matlab dsp building )
    2009-12-30 09:17:38下载
    积分:1
  • BPFeixiangxing
    基于BP神经网络对传感器非线性系统进行建模,用的是BP神往网络的工具箱在MATLAB 软件进行仿真!(Based on the BP neural network model of sensor nonlinear systems, with BP charmed network software MATLAB toolbox in simulation! )
    2012-04-15 19:54:48下载
    积分:1
  • BA_net
    BA模型的仿真,BA网络的生成,以及显示BA网络的一些特性优点(BA model simulation, the BA networks generate and display the characteristics of the advantages of the BA network)
    2012-05-18 08:51:25下载
    积分:1
  • GA-MIMO
    基于遗传非常简单实用。算法的多目标优化方案, 用matlab程序编写,(Multi-objective genetic algorithm-based optimization scheme is very simple and practical. Programming with matlab)
    2011-08-18 20:03:23下载
    积分:1
  • sparse_s
    稀疏信号的生成及cs模型稀疏阵(fft)和生成阵(PHI)的生成,及波形展示(Sparse signal generation and cs model sparse array (fft) and generate array (PHI) generation, and waveform display)
    2021-03-08 10:09:28下载
    积分:1
  • gas-carburizing-simulation
    本实验将使用MATLAB 7.0软件分别对20钢的离子渗碳和气体渗碳过程进行模拟,渗碳时间分别为1h、2h、8h、20h,渗碳温度分别为1203K、1223K、1273K、1323K。对20钢的其中一面进行一维气体渗碳,设该扩散系数和界面传递系数均与渗碳浓度无关,对渗碳厚度、渗碳速度、渗碳量和渗碳时间、渗碳温度的关系进行模拟。(In this study, using MATLAB 7.0 software 20 steel ion carburizing and gas carburizing process simulation, carburizing time were 1H, 2H, 8h, 20h, carburizing temperature of 1203K, 1223K, 1273K, 1323K. 20 steel one side of a one-dimensional gas carburizing, set the diffusion coefficient and interface transfer coefficient has nothing to do with the concentration of carburizing, the relationship of the thickness of the carburizing, carburizing speed, carburizing and carburizing time, carburizing temperature simulation.)
    2013-05-16 15:11:07下载
    积分:1
  • PSO
    利用matlab编程实现粒子群算法,来进行寻找最优解(particle swarm optimization)
    2013-09-29 11:14:01下载
    积分:1
  • 6.5
    这是matlab6.5 的使用方法,通过学习该书,可以精通matlab(This is matlab6.5 to use, by learning the book can be proficient in matlab)
    2011-10-27 11:49:37下载
    积分:1
  • buck_closed_loop
    基于matlab的buck电路闭环pid控制,仿真效果理想。(Matlab-based closed-loop pid buck control circuit, the ideal simulation results.)
    2020-10-22 18:57:23下载
    积分:1
  • 43680550face_recognition_adaBoost_M2
    利用ADABOOST方法进行人脸识别的MATLAB程序(ADABOOST use of face recognition methods MATLAB program)
    2007-05-14 15:25:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载