I am getting data in COM port, processing it and showing it in Matlab (These are some readings from Sensors). Now the data I am showing in Matlab - I want to show same data in a webpage. I have been searching for some clue to start with this problem matter, but failed to find any. Please give me some suggestions/tips on how should I start. It will update the data real-time or at least in a time interval, so that the user would know about any changes sooner by checking the webpage.

有帮助吗?

解决方案

Do you mean show as in plot?
You can just save the plots as images and move those to your webserver (which ideally runs on the same machine; if it's a remote server, take a look at Matlab's ftp class).
Then have a website which displays the image and either reloads fast or uses something like AJAX or jQuery to reload only the picture. Or include an "Update" button.

But that's an entirely different topic.
You might want to look into HTML, JavaScript and specifically AJAX for the webpage.

For Matlab, see saveas and, as stated above, possibly ftp.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top