How to replace different variables with a single variable in a text file?
显示 更早的评论
Hello everybody! I am not so used to editing and working with .txt files in MATLAB. I am looking for ways to replace multiple set of characters like '=' , '+', '-' with any single character like '%'. I guess I need to use regexprep for this purpose, but I am not able to figure it out for the .txt file. Any help will be appreciated. Thanks
2 个评论
Bob Thompson
2018-5-14
What do you mean by not being able to figure it out for the .txt file?
Tiasa Ghosh
2018-5-15
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Variables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!