How to transmit serially two data simultaneously in MATLAB.
I am using STM32CubeIDE to generate a code and want to transmit two different data(voltage and temperature of battery) serially . I am able to transmit single data at a time means i am able to check voltage or temperature individually but when i am trying to send both the data simultaneously ,facing some problems like it reads only one data or getting data of voltage and temperature alternately .But i want to get separate data for further use. Please give me any suggestion.
