Description: 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
To Search:
File list (Check if you may need any files):
Insert-matlab-intotext
......................\origin.txt
......................\runtext.m
......................\说明.txt