Controlling Size and DataType
显示 更早的评论
I am creating a large test in which i will have common variables that will need to be shared between functions however I want the sizes and datatype of these variables to stay consistent throughout the test so that the data that i save is consistent. I was thinking of creating a function for data management that would define the size and type of each variable and would allow you to set and get the variables while performing all of the necessary checks to ensure nothing is accidentally not falling outside of the defined type and size. Is there an easier way to do this in matlab without manual checks?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Software Development 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!