The invention discloses an
analysis method and device for a Simulink model and
electronic equipment, and the method comprises the steps: extracting an intermediate file ModelName.rtw from a target Simulink model, traversing the intermediate file, determining a hierarchical
structure relation of the model based on a preset hierarchical division symbol "sum", and retrieving the intermediate file by using a plurality of keywords, basic information, parameter information and
signal information of the target Simulink model are extracted; generating an analysis result based on the basic information, the parameter information and the
signal information, wherein the analysis result is used for communication mapping between the upper computer and the controller; according to the method, the problems that in the prior art, the structure and content of a Simulink model are variable, and
data loss and conversion errors are prone to occurring in the conversion process are solved, keyword retrieval and extraction are conducted through a hierarchical structure, then analysis of the Simulink model is achieved, key information in any Simulink model is obtained, and when a rapid prototype
control system is adopted, the conversion efficiency of the Simulink model is improved. And the universality of the function applied to the
software development of the upper computer is enhanced.