File Exchange

image thumbnail

Virtual IoT Device

version 1.0.0.0 (46.9 KB) by Hans Scharler
Use this app to simulate an IoT device and send the data to ThingSpeak

16 Downloads

Updated 06 Feb 2017

View License

Use this app to simulate an IoT device - both Analog Input and Digital Input - and send the data to ThingSpeak (https://thingspeak.com). Customize the app with your own ThingSpeak channel settings. View the ThingSpeak channel 222219 (https://thingspeak.com/channels/222219) to see the incoming data. Visit https://thingspeak.com and sign in with your MathWorks account. Create a new Channel by selecting Channels, My Channels, and then New Channel. Enable two fields and name them Analog Input and Digital Input.

Comments and Ratings (1)

I am getting this Error in MATLAB 2013a. Is it not compatible?

Error in appinstall.internal.runapp>runcorrectversion (line 35)
appobj = runapp13a(appinstalldir);

Error in appinstall.internal.runapp (line 17)
out = runcorrectversion(appmetadata, appentrypoint, appinstalldir);

Error using nargout
Function Virtual_IoT_Device does not exist.

Error in VirtualIoTDeviceApp/startApp (line 57)
if nargout(@Virtual_IoT_Device) == 0

Error in VirtualIoTDeviceApp (line 37)
startApp(obj)

Error in appinstall.internal.runapp>execute (line 69)
out = evalin('caller', [script ';']);

Error in appinstall.internal.runapp>runapp13a (line 51)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));

Error in appinstall.internal.runapp>runcorrectversion (line 35)
appobj = runapp13a(appinstalldir);

Error in appinstall.internal.runapp (line 17)
out = runcorrectversion(appmetadata, appentrypoint, appinstalldir);

Updates

1.0.0.0

Updated instructions.

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux