Example "XYZ" not found in "C:\Progra​mData\MATL​AB\Support​Packages\.​.."

2 views (last 30 days)
Hi all,
I ran
openExample('texasinstrumentsc2000/UsingSPIToReadAndWriteDataOnSPIEEPROMExample')
and got the following error:
Error using findExample (line 43)
Example "UsingSPIToReadAndWriteDataOnSPIEEPROMExample" not found in "C:\ProgramData\MATLAB\SupportPackages\R2017b\examples\texasinstrumentsc2000\examples.xml".
Error in setupExample (line 5)
metadata = findExample(arg);
Error in openExample (line 10)
[metadata,workDir] = setupExample(varargin{:});
and when I ran
c28x_spi_interrupt_test_ert
which is the model I am actually interested in, I got the following error:
Undefined function or variable 'c28x_spi_interrupt_test_ert'.
I am using MATLAB 2017b.
Thanks!

Accepted Answer

Canberk Suat Gurel
Canberk Suat Gurel on 11 May 2018
Edited: Canberk Suat Gurel on 21 May 2018
This model is only available in MATLAB 2018a.
For the prior versions, you can use
https://www.mathworks.com/help/releases/R2017b/supportpkg/texasinstrumentsc2000/examples/spi-based-control-of-pwm-duty-cycle.html
SPI example to learn about SPI functionalities.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!