ainul syahmina salleh in Discussions
Last activity on 9 Dec 2022

Hi, I want to collect the simulation data by using NASA HL-20 model, then the data will transmit to ThingSpeak. However, I don't have the block for ThingSpeak Channel at the Simulink Library Browser. Is it because the block has its own version of simulink (meaning I have to update my version) or is there any else that I don't know? Besides, can you suggest which methods are suitable for me to successfully transfer the simulation data to ThingSpeak? How to transfer the data from Simulink to ThingSpeak I was able to log data to ThingSpeak using the HL-20 model. Thats a fun model, thanks for giving me the excuse to try it. My version of MATLAB is 22b and I have the equivalent of a paid ThingSpeak license to be able to write every second, though I set the block to write every 2 seconds. In a 100 second simulation, I got 70 points, and I had to allow the missed ticks to be higher than the default. Im not a Simulink pro though, so I'm not clear exaclty why the numbers worked out that way. Thank you so much for your reply sir. Right now I'm able to get the block of ThingSpeak Output Channel. But it requires me to install real time kernel. I do type the command "sldrtkernel -install" at the command window but it says simulink desktop real-time kernel requires a computer with Intel CPU and I'm using MacOS 11.2. Is there any other way for me to run the block so that it will connect to ThingSpeak? Thanks. Unfortunately asfter asking some Mac experts, I have found that "SLDRT is not available on Apple silicon Macs, and we have no way to port it. There’s a fundamental architecture incompatibility here." The only suggested solution is to find a windows machine to use, unfortunatley. Apparently even a windows VM wont work in this case. There is more information here. Mac System Requirements - MATLAB & Simulink (mathworks.com) simulink thingspeak aerospace blockset toolbox nasa hl_20 model

About ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.