Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top