how to change some parameter of a m-file from command window

4 次查看(过去 30 天)
how to change some parameter of a m-file from command window
suppose you want to change somethings in a m-file from command window such as you want to add a row to a matrix in a specified m-file.
what I must write?
thanks.

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-12-9
.m file is a text file, so you can use all the functions to manipulate text files; for example, check the list of the function here: https://www.mathworks.com/help/matlab/referencelist.html?type=function&listtype=cat&category=low-level-file-i-o

类别

Help CenterFile Exchange 中查找有关 Adding custom doc 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by