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

2 次查看(过去 30 天)
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!

采纳的回答

Canberk Suat Gurel
Canberk Suat Gurel 2018-5-11
编辑:Canberk Suat Gurel 2018-5-21
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

Translated by