Why Mathworks provides uncompleted toolboxes?

Hello My name is Jakub Richter. I am using Matlab 2015b 32-bit version. I have installed arduino toolbox from this site https://www.mathworks.com/hardware-support/arduino-matlab.html and successfully communicate with Arduino. I need to use some functions which are included in toolbox according this site https://www.mathworks.com/help/supportpkg/arduinoio/functionlist.html?s_cid=doc_ftr but I noticed, that many functions are not included in toolbox I have installed. For example. I can use spidev function to create SPI object but function writeRead to write or read data with SPI is not included. So I can not do anything.
Please. Do you have some advise how to get full toolbox or is it because my version of Matlab can not run these functions?
Thank you

4 Comments

Using R2017a online help for which functions you can use in R2015b is never a good idea. Some of them will have been introduced after your version. The one you mention says it was introduced in R2014b though so should be available.
Thank you Adam for your response.
You are right. Can you please tell me how to find from which versions are functions available?
That functions I need should be available, but they are not I don´t know why :-/.
Best regards Jakub
The latest versions of the help include a section usually right at the bottom for each function saying in which version they were introduced.
e.g. when you click on writePosition from your function list link that page includes
Introduced in R2014b
at the bottom.
oh I see. I don´t know how could I overlook it.
Thanks

Sign in to comment.

 Accepted Answer

Jan
Jan on 9 Jun 2017
What does "uncompleted" mean? All toolboxes of Matlab are under development and new features are added with every new release. Unfortunately some features will even vanish, if MathWorks decide, that their support is not worth the effort anymore.
If you have installed the current version of the toolbox from the net and read the online documentation, it should not matter, which Matlab version are you using. How did you test, that "that many functions are not included"? Perhaps the test went wrong?

3 Comments

Thank you Jan for your response.
I noticed that functions are not included with using them and Matlab responded to me that these function can not be founded. So I used methods funcion to get list of provided functions and this is result:
a = arduino()
a =
arduino with properties:
Port: 'COM7'
Board: 'Uno'
AvailablePins: {'D2-D13', 'A0-A5'}
Libraries: {'I2C', 'SPI', 'Servo'}
>> methods(a)
Methods for class arduino:
addon details playTone servo writePWMVoltage
configureAnalogPin disp readDigitalPin spidev
configureDigitalPin display readVoltage writeDigitalPin
configurePin i2cdev scanI2CBus writePWMDutyCycle
Methods of arduino inherited from handle.
As you can see to compare with this site https://www.mathworks.com/help/supportpkg/arduinoio/functionlist.html, there are many functions missing. I saw videos where people used these functions with older versions of Matlab than I am using.
So do you have any idea, what is wrong?
writeRead() is not a method for arduino objects: it is a method for spidev objects. You can create an spidev object using spidev() and passing in an arduino object as the first parameter.
Oh I see. So the problem is solved! Strange that even I wrote writeRead to command line and highlight it and clicked F1, no help information occurred. Now it did.
Thank you very much

Sign in to comment.

More Answers (0)

Asked:

on 9 Jun 2017

Commented:

on 15 Jun 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!