Web Server
This function WEBSERVER, is a HTTP webserver for HTML code and images and also allows execution of Matlab code through the web.
webserver(port)
Supports
- HTML and images
- Sub-Folders
- Upload files
- M file execution
Example,
webserver(4000);
% Use firefox or internet explorer and visit http://localhost:4000/
Zitieren als
Dirk-Jan Kroon (2024). Web Server (https://www.mathworks.com/matlabcentral/fileexchange/29027-web-server), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > External Language Interfaces > Web Services with MATLAB > Call Web Services from MATLAB Using HTTP >
Tags
Quellenangaben
Inspiriert: Simple Network Information Server (SNIS)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
functions/
www/
www/formtest/
www/uploadtest/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.4.0.0 | Solved:
|
||
1.3.0.0 | Update for ice-browser |
||
1.2.0.0 | Now it also works with the "ICE-browser" in Matlab. Also added error information and config options. |
||
1.1.0.0 | Fixed Java-Port error due to code crash, and fixed refresh bug by waiting longer for the data. Problems where reported by "Nicolas Billard" |
||
1.0.0.0 |