Controlling Size and DataType
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Software Development in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!