MATLAB (Matrix Laboratory) real-time simulation method

A technology of real-time simulation and real-time operating system, applied in the field of mathematical software MATLAB, can solve the problems of difficult to write code, difficult to rewrite, and cannot be found by developers, so as to reduce the burden and improve work efficiency.

Active Publication Date: 2019-11-29
武汉灵思创智科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, on the one hand, many designers can only simply use MATLAB language without professional programming training, so it is difficult to write codes that meet the specifications; on the other hand , the code

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
  • MATLAB (Matrix Laboratory) real-time simulation method
  • MATLAB (Matrix Laboratory) real-time simulation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solution of this patent will be further described in detail below in conjunction with specific embodiments.

[0024] see Figure 1-2 , a real-time simulation method of MATLAB, comprising the following steps:

[0025] S1: First, provide a script execution engine running on the embedded real-time operating system to execute and load the user algorithm model script in MATLAB language; the embedded real-time operating system runs on the embedded hardware platform.

[0026] The embedded hardware platform uses a current mainstream desktop processor (such as the ninth generation Core processor) to run a mainstream embedded real-time operating system (such as RT-Linux or VxWorks, etc.).

[0027] The script execution engine runs on an embedded real-time operating system and is responsible for loading and executing user algorithm model scripts in MATLAB language.

[0028] S2: Implement the user algorithm model script. The user algorithm model script refers to the...

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 provides a MATLAB (Matrix Laboratory) real-time simulation method, which comprises the following steps: firstly, providing a script execution engine running on an embedded real-time operating system and used for executing and loading a user algorithm model script in an MATLAB language form; wherein the embedded real-time operating system runs on the embedded hardware platform; realizing a user algorithm model script, wherein the user algorithm model script is an algorithm model realized by a user through MATLAB language; the system comprises three modules, namely an initialization module Initialize, an operation module Step of each step length and an end module Finalize. The script execution engine firstly executes an initialization module Initialize and then starts a timer,sets the timing length to be a step, and executes an operation module Step in callback of the timer. The C/C + + code is generated without a code generation technology and directly runs on an embeddedhardware platform, so that the burden of designers is reduced. The working efficiency is improved.

Description

technical field [0001] The invention relates to mathematical software MATLAB, in particular to a real-time simulation method of MATLAB. Background technique [0002] MATLAB is a commercial mathematical software produced by MathWorks in the United States. It is mainly used for algorithm development, data visualization, data analysis, and numerical calculation. It is widely used in many fields such as scientific research and engineering calculation. MATLAB provides a programming language MATLAB language, an interactive environment using the MATLAB language, and a series of tools. [0003] Under the development process of model-based design, designers can first use Simulink for model simulation. In order to verify the real-time and effectiveness of the model, it can also generate C / C++, PLC and other codes, and even binary executable codes of various hardware platforms, and run them in real time on actual PC, MCU, DSP and other hardware platforms to realize the model timeline...

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): G06F17/50
Inventor 陈浩赵瑞永黄晓郭悦班韬泽
Owner 武汉灵思创智科技有限公司
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