A method and device for realizing the output of simulink module simulation data to an interface

A technology for simulating data and interfaces, applied in the direction of program control devices, software simulation/interpretation/simulation, etc., can solve problems such as low efficiency, complexity, unfavorable platform construction and expansion, and achieve the effect of overcoming the difficulty of expansion and high efficiency

Inactive Publication Date: 2016-07-13
CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] These two methods have their own disadvantages. The former method needs to generate C code or embedded code for the entire Simulink module. When the Simulink module is adjusted, the model needs to be recompiled, which is not conducive to the expansion of platform construction; The transmission of data packets on the network is more complicated, not suitable for simple transmission between stand-alone processes, and the efficiency is low

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
  • A method and device for realizing the output of simulink module simulation data to an interface
  • A method and device for realizing the output of simulink module simulation data to an interface
  • A method and device for realizing the output of simulink module simulation data to an interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0034] In order to achieve flexible expansion of the Simulink module and high-efficiency output of simulation data to the interface, the embodiment of the present invention provides the following method for outputting simulation data of the Simulink module to the interface.

[0035] see figure 1 , which shows one of the flow charts of the method for outputting simulation data of Simulink modules to the interface provided by the embodiment of the present invention. This embodiment can use the S-function function block of the Simulink module to write the S-function, and output the simulation data to the Windows interface by using the WM_COPYDATA message of Win32API. Among them, the S...

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 method and device enabling a Simulink module to output simulation data to an interface so that the aim that the simulation data are efficiently output to the interface without influencing flexible expansion of the Simulink module is achieved. The method comprises the steps of responding to an incident that the Simulink module outputs the simulation data, and capturing the output simulation data; establishing a structure body comprising the simulation data so as to acquire a receiving window of a Windows interface; sending a message of acquiring the structure body to the receiving window of the Windows interface so as to enable the Windows interface to acquire the simulation data in the structure body according to the message.

Description

technical field [0001] The invention relates to the field of Simulink simulation, in particular to a method and a device for realizing the output of Simulink module simulation data to an interface. Background technique [0002] The Simulink module is one of the most important components of MATLAB, which provides an integrated environment for dynamic system modeling, simulation and comprehensive analysis. [0003] At present, there are mainly two methods for outputting simulation data of Simulink modules to the interface: [0004] One method is to use the RTW (Real-TimeWorkshop) module of MATLAB software to compile the model, generate C code or embedded code from the Simulink module, and finally add the output function of the Simulink module to the interface design code, so that Make the output simulation data output to a dedicated design interface; [0005] Another method is to use the InstructureControlToolbox (structural control toolbox) of MATLAB software for design. Wh...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455
Inventor 陈柳松张宇王坚李江红应婷谭娟许为张杰
Owner CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products