how to interface arduino uno with simulink?

3 ビュー (過去 30 日間)
Ponraj raj
Ponraj raj 2016 年 1 月 30 日
コメント済み: Walter Roberson 2016 年 2 月 3 日
already i have installed hardware support package, and polulu cp2102 device driver. i mentioned proper communication port number. but when i'm running my arduino model from matlab it throws an error that can't detect arduino hardware.
  3 件のコメント
Ponraj raj
Ponraj raj 2016 年 1 月 31 日
i included the screen shot. even i connected arduino uno board it throws this error. how to solve this?
Walter Roberson
Walter Roberson 2016 年 1 月 31 日
I do not have any suggestions on your difficulty about Arduino.
As something that is unconnected to Arduino: I notice that some of your graphics features have been disabled. You might need a newer graphics driver, or possibly you have a very old operating system or possibly you have a graphics card that has some broken features or possibly you have a very old graphics card. You can get more information about the graphics difficulty you are having by read the opengl() documentation about Advanced Graphics Features

サインインしてコメントする。

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2016 年 1 月 31 日
Hi,
for the first call you need to specify model and port, something like
a = arduino('nano', 'COM3');
The information is stored in the preferences so that for subsequent calls a simple call
a = arduino
will suffice.
Titus
  2 件のコメント
Ponraj raj
Ponraj raj 2016 年 2 月 3 日
thank you for your response. i'm using 64 bit operating system. somebody told that there is communication port problem while using 64bit os,so that this problem occurs. try on 32 bit os. is this correct?
Walter Roberson
Walter Roberson 2016 年 2 月 3 日
I have not heard that, not for serial ports. It is an issue for parallel ports.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by