I have a device that read sensors informations and send them by usb port. I want to read it's data and control it for On/Off by using matlab.
See the documentation 'Serial Port Interface' (https://www.mathworks.com/help/instrument/serial-port-interface.html)
The connection between the two devices can be in the form of client and server.
Two different methods may be used in this connection: TCP/IP and UDP.
The information in the following link may be useful to deal with the two methods.
https://www.mathworks.com/help/instrument/tcp-ip-and-udp-interface.html?searchHighlight=tcp-ip&s_tid=doc_srchtitle
Thanks for your helps :)
I need to write EMS codes using E+ Scripts. Thanks for your answers :)
08 September 2018 6,146 0 View
I want to use energyplus for Energy management system in residential buildings.
08 September 2018 8,516 2 View
I want to analysis energy hub behavior for electrucal,cooling & heatung loads.
10 November 2017 1,891 2 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View
I am trying to obtain the response and recovery times for my gas sensor device. It appears the the response/recovery times are primarily dependant on the flow rate of the gas I inject into the...
26 February 2021 1,511 3 View
I am required to learn about Flyback converters and I got stuck not knowing to full design of the power supply flyback converter Based USB Charger Model using Simulink, especially the design model...
25 February 2021 5,435 2 View
I do need the Matlab code of Fractal Discrete Cosine Transform (FDCT). Can anyone who has already implement this code, help me with the implementation of this transform?
24 February 2021 5,602 2 View
Hi Hope you are well. Can you please share your code for D2D implementation in Matlab. I want to implement D2D in Matlab based Vienna simulator and struggling to deploy D2D. Thanks
24 February 2021 9,378 3 View
Dear colleagues If anyone has a model of multi-effect distillation in EES or MATLAB software, please send it to me.
24 February 2021 7,282 1 View
Hi, I am a third year chemistry undergrad doing my group project in which I need to predict the HPLC retention time of 20 aromatic molecules. to do this we require the chemical properties of these...
24 February 2021 1,384 3 View
I use Matlab 2014b to capture some images with a PointGrey camera connected with USB3 port. I initialize the camera in a function which basically execute these followed lines : vid =...
22 February 2021 6,386 1 View