问题
We have in University hundreds of m scripts and we want to change/update some definitions of the variables. We want to change all the ufix(*), sfix(*)
to fixdt(*,*)
. So I imagine that I could make an m-script that read the m-files and changes all the definitions. I think the difficult part of the script is to find for example a ufix(8)-unsigned 8bit
and to change into fixdt(0,8)
.
Do you know a function in Matlab which makes this automatic?
来源:https://stackoverflow.com/questions/31510356/how-to-update-in-hundreds-m-scripts-a-variable-definition