Creating an matrix with values from a different m-file

4 views (last 30 days)
Hi, I'm super new to this, so bare with me. So far I have assigned number values to push buttons that are related to a variables - for example:
function checkbox3_Callback(hObject, eventdata, handles)
if (get(hObject, 'value') == get(hObject, 'max'))
B1 = 1
end
I want to put these values into a matrix so that they can be scored, but scoring will be done in a different m-file. How do I import my values so that they can be put into a matrix in a different m-file?

Answers (1)

Walter Roberson
Walter Roberson on 19 Aug 2012

Community Treasure Hunt

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

Start Hunting!