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

Method for remotely deploying MATLAB function

A function and remote technology, applied in the field of computer network applications, can solve the problems of slow opening speed of MATLAB functions, inability to deploy, and inability of third-party personnel to optimize, etc., to achieve the effect of improving development efficiency and improving efficiency

Pending Publication Date: 2022-07-08
YANGTZE UNIVERSITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, MATLAB functions can be deployed remotely using MATLAB Web App Server or MATLAB Production Server provided by MATLAB. These two methods are easy to operate, and users can design user interfaces and related functions without mastering other programming languages. Key package deployment, but this method also has disadvantages
[0003] After using MATLAB WebApp Server for deployment, the opening speed of MATLAB functions on the Web side is slow, and because MATLAB WebApp Server is not open source, third-party personnel cannot optimize it, and MATLAB WebAppServer may have bugs during use. After uninstalling and reinstalling It is still possible to have the same problem
In addition, there is a version correspondence problem between MATLAB WebApp Server and MATLAB software. Each version of MATLAB software corresponds to a MATLAB Runtime. If the version correspondence is wrong, it cannot be deployed.

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
  • Method for remotely deploying MATLAB function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below with reference to specific embodiments. It should be noted that each part in the present invention should not be regarded as a fixed whole, but each part is responsible for different functions, which can be modified to achieve better effects.

[0027] The invention provides a method for remotely deploying MATLAB functions, using Python to remotely deploy MATLAB functions, and this method includes a Python back-end, a Web front-end, a MATLAB function and an Nginx server;

[0028] There is data interaction between the web front end and the Python back end, the data interaction between the Python back end and the MATLAB function, and the relationship between the web front end and the Nginx server to send requests and respond to requests.

[0029] The Python backend is written in the Python language, and the FastAPI asynchronous web framework is used to build a web service. Each MATLAB function is bound with a path ope...

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 method for remotely deploying an MATLAB function. Compared with a method for remotely deploying an MATLAB Web Server, the method for remotely deploying the MATLAB function has the advantage that the online access speed is obviously improved. The method comprises the following steps: designing a front-end UI interface by using a front-end programming language, and carrying out data interaction with a Python rear end through a progressive front-end framework Vue; the method comprises the following steps of: constructing a back-end API (Application Program Interface) by using an asynchronous Web framework FastAPI (Application Program Interface) in the Python, taking Uvicron as a server, enabling the back end of the Python to call an MATLAB function for calculation by using a third-party packet MATLAB Engine For Python in the Python, and returning a result to a front end; in the Python, a Jinja2 template rendering engine is used for realizing front-end page rendering; an Nginx server is used as a picture server, so that an extranet user can see a picture file in a calculation result in a front-end interface after calculation. According to the method, the MATLAB function is remotely deployed in another quicker mode, the access speed at a user side is high, early-stage development is simple and easy to master, and later-stage maintenance is simple and convenient.

Description

technical field [0001] The invention belongs to the field of computer network application, and specifically designs a method for remotely deploying MATLAB functions. Background technique [0002] At present, remote deployment of MATLAB functions can be deployed using the MATLAB Web App Server or MATLAB Production Server officially provided by MATLAB. These two methods are easy to operate, and you can design the user interface and related functions without mastering other programming languages. Key package deployment, but this approach also has drawbacks. [0003] After using MATLAB WebApp Server for deployment, MATLAB functions are opened slowly on the Web side, and third-party personnel cannot optimize because MATLAB WebApp Server is not open source, and MATLAB WebAppServer may have bugs during use, after uninstalling and reinstalling It is still possible that the same problem occurs. In addition, there is a version correspondence problem between MATLAB WebApp Server and ...

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/38G06F9/445G06F9/448
CPCG06F8/38G06F9/449G06F9/44505
Inventor 孙祥娥李震东胡林任睿杰聂冰霞郝慧斌黄培哲
Owner YANGTZE UNIVERSITY
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