I am using Matlb 2013b with Simulink. I am testing software on an Arduino and can successfully program an UNO using Simulink. In the support package for Arduino hardware on my computer I do not see the SPI block mentioned in this link:
Why don't I see the block?
How can I add it to my installation of R2013b?

 채택된 답변

Star Strider
Star Strider 2015년 11월 4일

1 개 추천

It doesn’t seem to exist in the Arduino Hardware Support Package for R2013b.
As for adding it, you would have to contact MathWorks Tech Support and ask them.

댓글 수: 2

From Tech Support: Unfortunately, this block was not introduced until MATLAB R2015a. In order to use this block with the Arduino support package, you will need to upgrade to either MATLAB R2015a or R2015b. This will allow you to use the block.
You have my sympathies, but unfortunately that’s all I can offer.
If you decide to upgrade (look at the current Arduino Hardware routines available in the online documentation to see what is available), do not uninstall R2014a, or the latest earlier release if you don’t have R2014a. The reason is that the ‘traditional’ handle graphics commands only work with R2014a and earlier. It’s always good to have the ‘old’ handle graphics available if you need their enhanced utility.
Also, Windows 10 creates problems ( i.e. doesn’t work ) with releases earlier than R2015b, so consider that as well.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Madhu Govindarajan
Madhu Govindarajan 2015년 11월 5일

0 개 추천

The documentation on the website is for the latest release of MATLAB and the older releases will not have all the new features. The one thing you could try is to download the latest support package release as that might have the features although I doubt it. And maybe StarStrider is correct that the support package is constant for different releases

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품

질문:

2015년 11월 4일

댓글:

2015년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by