Using hash functions,editing contents of uitable

1 次查看(过去 30 天)
Question1: I have a gui which takes the input of a message text, and also it computes a number n,which is an integer. As an example, Message:'HELLO' n=19 Is there a way to obtain the hash of the above message by using some hash in matlab and truncate that hash of the message so that the bit length of the hash is same as the bit length n, and assign it to a variable z? Then the variable z should be an integer too, since I need to use that truncated hash (i.e the value z) in another computation. Please tell me the hash to be used and how to use it also.
Question2: I also have a gui which displays some results in a uitable. Is it possible to edit the contents of some cells in the uitable once the results are displayed ,from the interface ,while running? Then by pressing a button assign the edited values to another table and display it?
Please help me with the above two questions. I'm working in matlab 2013a version.
Thanks in advance.

回答(1 个)

Walter Roberson
Walter Roberson 2015-12-30
Question 2: set the ColumnEditable property of the uitable as appropriate.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by