R2012b on Windows 10 Java Error

Hi everyone ! I am using R2012b on Windows 10. I was willing to detect the Bluetooth devices around with the function instrhwinfo('Bluetooth') but I got this error :
instrhwinfo('Bluetooth')
Error using instrhwinfo (line 195)
Java exception occurred:
java.lang.NullPointerException
at
com.mathworks.toolbox.instrument.BluetoothDiscovery.discoverDevices(BluetoothDiscovery.java:448
at
com.mathworks.toolbox.instrument.BluetoothDiscovery.hardwareInfo(BluetoothDiscovery.java:247)
Any idea ? When I try the exact same function on Windows 7 I get the info I want.
Thanks in advance for your answer !
Jeanne

回答 (1 件)

Star Strider
Star Strider 2016 年 10 月 20 日

0 投票

If I remember correctly, only R2015a and later versions are supported on Windows 10.
Do not install Windows 10 on your Windows 7 computer!

2 件のコメント

Jeanne P
Jeanne P 2016 年 10 月 21 日
Yes I know but yet my other codes/programs are well working on this version of Matlab with Windows 10
(Don't worry, I won't install W10 on my W7 computer !)
Star Strider
Star Strider 2016 年 10 月 21 日
It’s probably time to Contact Support.
I still have Win 7 running on my 2009 HP laptop (originally came with Vista). No plans to ‘downgrade’ it either!

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

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2016 年 10 月 20 日

コメント済み:

2016 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by