Im having some problems configuring the Lora GPS hat on my Raspberry pi 3 model b+ using simulink. I have configured the raspberry pi using all the support packages from matlab.
The raspberry pi is configured and the Lora GPS does work on the raspberry pi using openshell.
mypi = raspi('ip','login','password');
myserialdevice = serialdev(mypi,'/dev/ttyS0',9600,8)
The gps does spit out data in the matlab command window.
The only problem is when i try to use the serial read block within simulink, when i configure the serial read in the same way as the myserialdevice. I use this program and run it on the raspberry pi
When i monitor and run this script on the raspberry pi the displays just show zero's, even when i simplify the script with only 2 displays connected to the serial read then the displays still show only zero's.
Hopefully somebody can tell me what wrong or has incountered the same problem some time ago and found a solution.
Thanks in advance!