Creating an matrix with values from a different m-file

1 次查看(过去 30 天)
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?

回答(1 个)

Walter Roberson
Walter Roberson 2012-8-19

类别

Help CenterFile Exchange 中查找有关 Debugging and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by