R2012b on Windows 10 Java Error

1 次查看(过去 30 天)
Jeanne P
Jeanne P 2016-10-20
评论: Star Strider 2016-10-21
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
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!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by