How to fix startup error on mlapp_jni.dll

1 view (last 30 days)
William Toner
William Toner on 27 Oct 2013
Edited: Walter Roberson on 28 Oct 2013
When I start Matlab, R2013a Student Version 32bit on Windows 7 Pro 64bit with 32bit Java 7 update 45 installed, I get this every time, before I do anything myself:
Student License -- for use in conjunction with courses offered at a
degree-granting institution. Professional and commercial use prohibited.
Exception in thread "Thread-27" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\MATLAB\R2013a Student\bin\win32\mlapp_jni.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.mathworks.appmanagement.AppManagementApiBuilder.getPackagingApi(AppManagementApiBuilder.java:91)
at com.mathworks.appmanagement.AppManagementApiBuilder.getAppManagementApiImpl(AppManagementApiBuilder.java:50)
at com.mathworks.appmanagement.AppManagementApiBuilder.getAppManagementApi(AppManagementApiBuilder.java:30)
at com.mathworks.mde.desk.ContributedTools.<init>(ContributedTools.java:105)
at com.mathworks.mde.desk.ContributedToolsLoader$1.run(ContributedToolsLoader.java:18)
at java.lang.Thread.run(Unknown Source)
I'm having problems with an assignment and would like to correct any install issues that may be part of my problems.
We are receiving ethernet UDP packets from an FPGA board, and so far I have not received anything in Matlab, but Wireshark shows them coming in. The matlab program to receive is provided by the instructor and shoudl "just work". I do send them within the 4 second window at the prompt shown below:
EDU>> lab4_collect_data
No socket open.
Nothing to clear.
Send data now! (you have 4 seconds)Error using lab4_collect_data (line 48)
Java exception occurred:
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
at java.net.DatagramSocket.receive(Unknown Source)
I have added C:\Program Files(x86)\MATLAB\R2013a Student\bin\win32 to the Windows path environment variable, even though C:\Program Files(x86)\MATLAB\R2013a Student\bin was already there, based on some other internet search results offering solutions to similar problems, but did not help.
I just want to rule out any install errors, and will continue investigating my VHDL and C code for my project for issues in those.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!