Arduino for Simulink Support Package Installed and Works Fine for Me, but NOT for Other Users

14 visualizaciones (últimos 30 días)
I'm a professor and I've just installed the Arduino for Simulink Support Package on about a dozen of our lab PCs with MATLAB R2013a and corresponding Simulink. The package is installed and works fine for me, but does NOT work properly for my student users. The Tools menu in Simulink looks just fine when I'm logged in. However, when students log onto those same PCs, it looks like the package is installed because it shows up in the list of Support Packages in the Simulink library browser, but when they click Tools > Run on Target Hardware, they don't see the "Prepare to Run", "Run", and other such options. Instead, they see only a menu choice for downloading and installing the support package. When we go that route and repeat the download & install that I've already done, nothing changes even after a restart of MATLAB & Simulink. Could this be an Admin rights issue? Or do I need to do something special with the package installation to make it accessible to all users? Thanks in advance!

Respuesta aceptada

Joel, Just Joel
Joel, Just Joel el 15 de Oct. de 2013
This issue has been resolved, thanks to Mathworks and my local IT group. For the record and for others who may experience the same issue, here's the workaround, which basically copies the MATLAB preferences file from the user who installed the Support Package to the new user(s):
1) Admin user installs Arduino for Simulink Support Package. Note that the package will not work for other users and requires this workaround. At least for MATLAB R2013a.
2) Same admin user runs attached MATLAB script file: Fix_Arduino_for_All_Pt1_Admin.m (in MATLAB, locate the file by changing current folder path -- the line above the Command Window -- to match wherever the file's been copied, and then right-click, Run)
3) Different user logs onto same PC and runs other attached script file from within MATLAB: Fix_Arduino_for_All_Pt2_Users.m This user should now be able to access and use Arduino for Simulink Support Package.

Más respuestas (1)

Fabio Augusto BITENCOURT
Fabio Augusto BITENCOURT el 7 de Nov. de 2014
Editada: Fabio Augusto BITENCOURT el 7 de Nov. de 2014
I'm running a individual student version and I'm having the same problem, or quite similar. When I run the first time, after installation of add-on, it's ok, I have everything. But the second time, when I open the libraries no one appears. I've tried your solution, but it doesn't run, it misses something. I know where the files have been copied, but witch is the current file ?
Can't run, it gives error: «Error using copyfile No matching files were found.»

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by