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

2 Ansichten (letzte 30 Tage)
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!

Akzeptierte Antwort

Canberk Suat Gurel
Canberk Suat Gurel am 11 Mai 2018
Bearbeitet: Canberk Suat Gurel am 21 Mai 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.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by