www.gusucode.com > appdesigner工具箱matlab源码程序 > appdesigner/+appdesigner/+internal/+application/getAppDesignerInitializationData.m

    function [metadata, appBaseClassAttributes] = getAppDesignerInitializationData()
    % GETAPPDESIGNERINITIALIZATIONDATA Internal function to create the 
    % component meta data and AppBase class attributes required by
    % AppDesigner client side
    
    % Copyright 2015 The MathWorks, Inc.

    % create component adapter map data
    componentAdapterMap = appdesigner.internal.application.appmetadata.createComponentAdapterMap();
    % create component meta data which includes:
    % 1) Component Type
    % 2) Component design time default property values
    % 3) Component MATLAB adapter file path
    % 4) Component JavaScript adapter file path
    metadata = appdesigner.internal.application.appmetadata.getComponentMetaData(componentAdapterMap);

    % Get the property names and method names defined in AppBase
    appBaseClassAttributes = appdesigner.internal.application.appmetadata.getPropertyAndMethodFromAppBase();            
end