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

6 ビュー (過去 30 日間)
Canberk Suat Gurel
Canberk Suat Gurel 2018 年 5 月 11 日
編集済み: Canberk Suat Gurel 2018 年 5 月 21 日
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 Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by