October 9, 2015
I am a total green hand on Matlab stuff and I have a question about how I can call a MATLAB function in Thingspeak Matlab Analysis?
For example, I have a Matlab function as below:
Function [ data1, data2, parameter1, parameter2] = calculate_something(parameter1, parameter2, parameter3)
Is there a way that I can call this function in Thingspeak Matlab Analysis's Matlab code?
This is very similar to call "ThingspeakRead" function in the current Matlab Analysis panel window. I am wondering if I can call a customized function in the panel window.
Thanks a lot for any comments in community.
August 25, 2015
At present, you will not be able to call custom functions from either the MATLAB Analysis App or the MATLAB Visualization App. Both the Apps only allow a MATLAB script to be written and this script can only call functions already defined in MATLAB. We will consider this capability for a future release.
As a workaround, you can move the logic in the 'calculate_something' function into each MATLAB Analysis/Visualization App that requires it, as a script.
August 12, 2015
October 9, 2015
February 21, 2015
January 30, 2014
@Adarsh_Murthy - if you are considering feature requests for future releases can I suggest passing URL parameters through to the matlab environment? This would allow more generic and re-usable code since you could specify a channel or field number in the URL and have matlab process it rather than have to hard-wire it into each block.
January 18, 2011
Most Users Ever Online: 114
Currently Online: dennis55
Currently Browsing this Page:
Guest Posters: 1
Newest Members:josephrj11, dennis55, jillhp4, tabathawg69, MarinaMa, Susandom
Administrators: Hans: 387, lee: 457