MATLAB: Error using load Try adding “MeasData_LO3_1842” to the static workspace. (APP designer)

app designerguiloadMATLAB

Error using load Try adding "MeasData_LO3_1842" to the static workspace. But I already have my data in the matlab workspace
This is how I shared the data
屏幕快照 2019-05-29 下午11.08.03.png
Then I get the data in the app like this
屏幕快照 2019-05-29 下午11.08.09.png
Does anyone know how should I revise it or how should I use LOAD correctly.

Best Answer

  • MeasData_LO3_1842 = load('MeasData_LO3_1842.mat');
    But why are you doing that load when you already have done the load and stored it in the var property of whatever object you are constructing?