Creating an matrix with values from a different m-file

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?

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

提问:

2012-8-19

Community Treasure Hunt

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

Start Hunting!

Translated by