function startupFcn(app, varargin)
evalin('base', 'clear all')
evalin('base', 'clc')
list = fopen('VehicleList.m','r');
A = textscan(list, '%c');
fclose(list);
AB = char(A);
assignin('base','A', A);
assignin('base','AB', AB);
app.VehicleModelDropDown.Items = AB.VehicleList;
function UpdateVehicleList(app,new_car)
VehicleList = [app.VehicleModelDropDown.Items new_car];
save('VehicleList.m','VehicleList','-append');
app.VehicleModelDropDown.Items = VehicleList;
end
end
13 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991535
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991535
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991553
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991553
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991559
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991559
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991565
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991565
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991568
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991568
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991571
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991571
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991586
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991586
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991598
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991598
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991601
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991601
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991634
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991634
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991679
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991679
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991688
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991688
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991697
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/586832-dot-indexing-is-not-supported-for-variables-of-this-type#comment_991697
Sign in to comment.