{"title":"Automatic generation of web client interfaces for remote execution of Matlab simulations","authors":"C. Kreiter, D. Zutin","doi":"10.1109/EXPAT.2017.7984366","DOIUrl":null,"url":null,"abstract":"Matlab is a widely used tool in industry and education for numerical computation of mathematical problems. Former versions of Matlab had a built-in Web server which was used to run scripts over the web browser. Newer versions of Matlab lack this functionality. However, recent versions of Matlab allow users to interact with REST-based web services. Considering the above, this paper does not only demonstrate a new possibility on how to build up a communication between a web client in a browser and a Matlab script with the use of the iLab Service Broker and the Experiment Dispatcher, but also shows how a GUI for a web client can be generated dynamically, with basic information of the script encoded as a JSON string. With this approach developers can run their scripts from a web browser and do not need any knowledge in web languages like HTML or JavaScript.","PeriodicalId":283954,"journal":{"name":"2017 4th Experiment@International Conference (exp.at'17)","volume":"464 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 4th Experiment@International Conference (exp.at'17)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EXPAT.2017.7984366","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Matlab is a widely used tool in industry and education for numerical computation of mathematical problems. Former versions of Matlab had a built-in Web server which was used to run scripts over the web browser. Newer versions of Matlab lack this functionality. However, recent versions of Matlab allow users to interact with REST-based web services. Considering the above, this paper does not only demonstrate a new possibility on how to build up a communication between a web client in a browser and a Matlab script with the use of the iLab Service Broker and the Experiment Dispatcher, but also shows how a GUI for a web client can be generated dynamically, with basic information of the script encoded as a JSON string. With this approach developers can run their scripts from a web browser and do not need any knowledge in web languages like HTML or JavaScript.
Matlab是工业和教育中广泛使用的数学问题数值计算工具。以前的Matlab版本有一个内置的Web服务器,用于在Web浏览器上运行脚本。较新版本的Matlab缺乏此功能。然而,最近的Matlab版本允许用户与基于rest的web服务交互。综上所述,本文不仅展示了如何使用iLab Service Broker和Experiment Dispatcher在浏览器中建立web客户端与Matlab脚本之间通信的一种新的可能性,而且还展示了如何动态生成web客户端的GUI,将脚本的基本信息编码为JSON字符串。使用这种方法,开发人员可以在web浏览器中运行脚本,而不需要任何web语言知识,如HTML或JavaScript。