首页|基于FastAPI的MATLAB函数远程加载与实现

基于FastAPI的MATLAB函数远程加载与实现

扫码查看
针对利用MATLAB官方提供的Web组件将在线虚拟仿真实验平台打包部署到Web端后,客户端出现浏览器端加载应用程序缓慢的问题,文章不使用MATLAB官方的Web组件,在使用超文本标记语言(HyperText Markup Language,HTML)和Vue搭建前端界面的同时,使用异步Web框架FastAPI搭建后端应用程序接口(Application Program Interface,API)并进行服务部署.开展数字信号处理中的图像处理实验,结果表明文章提出的方法可有效地解决Web应用加载速度缓慢等问题.
Remote Loading and Implementation of MATLAB Functions Based on FastAPI
In order to solve the problem that the client side of the online virtual simulation experiment platform is slow to load the application program on the browser side after deploying the online virtual simulation experiment platform to the Web side using the official Web component provided by MATLAB,this paper does not use the official Web components of MATLAB,builds the front-end interface by using Hypertext markup language and Vue,and use the asynchronous Web framework FastAPI to build back-end application program interfaces and deploy services.The experiment of image processing in digital signal processing shows that the method proposed in this paper can effectively solve the problem of slow loading speed of Web applications.

MATLABHyperText Markup Language(HTML)VueFastAPIimage processing

李震东

展开 >

长江大学电子信息学院,湖北荆州 434023

MATLAB 超文本标记语言(HTML) Vue FastAPI 图像处理

2024

信息与电脑
北京电子控股有限责任公司

信息与电脑

影响因子:1.143
ISSN:1003-9767
年,卷(期):2024.36(3)
  • 8