Wouter Van Goey in MATLAB Answers
最後のアクティビティ: 2023 年 3 月 17 日

When I try to plot temperature data over time the displayed time is two hours behind. When I try to change timezones in the following manner results are very erratic: [data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 64, 'ReadKey', readAPIKey); %% Visualize Data %% time.TimeZone = 'Europe/Brussels' plot(time, data,'- . r'); Most timezones from this list don't change the time at all, using using some I get say one hour closer but never the right amount. What am I doing wrong? How come only a few timezones from the list even have any effect? Keep in mind I am a n00b. For the record I am using the in browser editor on thingspeak.com, running a MATLAB visualisation plotting my cloud data.
Apoorv Lokhande in MATLAB Answers
最後のアクティビティ: 2017 年 10 月 26 日

I am trying to count cars on a highway using webcam, raspberry pi & Simulink model for data analysis using thingspeak & later using Amazon AWS. The project link, Makerzone Project. I am facing a problem with the Car Counter block in the Simulink model. I have developed a code performing all the operations for the project but I am unable to complete the simulink model from that code. Can anyone help me in modelling the simulink model?
Apoorv Lokhande in MATLAB Answers
最後のアクティビティ: 2016 年 6 月 9 日

I am trying to do a project from Thingspeak, the link is Thingspeak Project . The simulink model given in the project contains a ForegroundDetector block which we can not find in the Simulink library browser. So, I concluded that it is a matlab function block containing a ForegroundDetector function. I made a Simulink model to compute the foreground mask & made a similar function block using this code, function fgMask = fcn(image) %#codegen detector = vision.ForegroundDetector(... 'NumTrainingFrames', 5, 'InitialVariance', 30*30); fgMask = step(detector, image); My model is <</matlabcentral/answers/uploaded_files/53832/model.PNG>> The result I get in the Diagnostic viewer is this: <</matlabcentral/answers/uploaded_files/53831/Diagnostic%20Error.PNG>> Here 'TrafficSurveillance' refers to the name of my model. I have reached this very brief code after many edits & cuts with the same problem everytime. Acually the algorithm is large & I want to implement the algorithm using few matlab blocks doing different functions of the algorithm. But this problem is prevalent with the ever short code. When I typed mex -setup in the command window, <</matlabcentral/answers/uploaded_files/53834/mexsetup.PNG>> Is there a problem with my code or the model? How may I implement the project?

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.

モデレーター