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

1 visualización (últimos 30 días)
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!

Respuesta aceptada

Canberk Suat Gurel
Canberk Suat Gurel el 11 de Mayo de 2018
Editada: Canberk Suat Gurel el 21 de Mayo de 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.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by