Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Full-model executable program construction method based on MATLAB (Matrix Laboratory)/Simulink

A technology for executing programs and constructing methods, which is applied in the field of aviation systems, can solve problems such as compiler inability to support and configure, increase the possibility of problems, and low development efficiency, so as to improve development efficiency and code reusability, reduce low Hierarchy issues, the effect of reducing the human factor

Active Publication Date: 2020-06-19
XIAN MICROELECTRONICS TECH INST
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this development mode, no matter which method is used to generate the control model code, it is necessary to manually call the underlying driver interface, and the generated code needs to be copied to the compilation environment for compilation to generate an executable program. The development efficiency is low and manual work is required. Code copying increases the possibility of problems
At the same time, when using Simulink to convert the model into embedded code, the ert template code that comes with Simulink is generally used, which cannot meet the special needs of embedded applications, such as the need to dynamically modify the model run cycle according to certain conditions
For the compilation and linking of the generated C code to the executable program, the MicrosoftVisual C++ compiler or LCC compiler recognized under MATLAB is generally used, and other compilers cannot be supported and configured

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Full-model executable program construction method based on MATLAB (Matrix Laboratory)/Simulink
  • Full-model executable program construction method based on MATLAB (Matrix Laboratory)/Simulink
  • Full-model executable program construction method based on MATLAB (Matrix Laboratory)/Simulink

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose and technical solution of the present invention clearer and easier to understand. The present invention will be further described in detail below in conjunction with the drawings and embodiments. The specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0036] refer to figure 1 , the present invention realizes full graphical model-driven development support through the underlying driver component packaging and processor system framework support. The present invention has no restrictions on the processor architecture and can be applied to any target platform with any processor architecture. The following embedding Taking a computer as an example, the embodiment of the present invention is described. The embedded computer adopts the domestic Phytium multi-core processor FT6678, and integrates the ADC_in component externally. The specific implementation steps of the model-drive...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a full-model executable program construction method based on MATLAB (Matrix Laboratory) / Simulink. The method includes: desiging and creating a bottom-layer driving assembly; automatically generating, compiling and linking a design code, and adding the design code into an MATLAB / Simulink environment; full-graphical model driving development is realized; manual coding is notneeded in the whole development process; after full model construction is completed, embedded code generation, file copying, compiling and linking are automatically completed through a one-key generation function, an executable file capable of directly running on an embedded control computer is generated, and meanwhile, the executable program conforming to different architecture processors can begenerated by configuring and supporting any compiling environment. And the software product development efficiency and the code reusability are improved, and the low-level problem is reduced.

Description

technical field [0001] The invention belongs to the technical field of aviation systems, and relates to the development of driving components under MATLAB / Simulink, the design of a processor frame, the generation of executable programs, and the like. Specifically, it relates to a method for constructing a full-model executable program based on MATLAB / Simulink. Background technique [0002] At present, the model-driven development under MATLAB / Simulink generally means that the user builds a control model under Simulink through existing algorithm components and custom components, and performs simulation under Simulink. After the simulation is passed, manual coding or Simulink code is used. The generation function converts the control model into a C program, and at the same time manually writes peripheral access codes to obtain model input data and output model control commands. The above C program must be compiled and linked with a cross compiler before generating an executabl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/20G06F8/30G06F8/34G06F8/35G06F8/41
CPCG06F8/24G06F8/315G06F8/34G06F8/35G06F8/37G06F8/447
Inventor 褚哲刘文琦杨一岱赵一明
Owner XIAN MICROELECTRONICS TECH INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products