Using hash functions,editing contents of uitable

3 views (last 30 days)
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.

Answers (1)

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

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!