Hello, I'm trying to import files from my external SSD, however, I'm not able to see it while using Brainstorm GUI. Is it possible to add this function to the software? Thank you in advance.
Brainstorm uses the Java/Swing class JFileChooser
for selecting files:
- https://docs.oracle.com/javase/7/docs/api/javax/swing/JFileChooser.html
- https://github.com/brainstorm-tools/bst-java/blob/master/brainstorm/src/org/brainstorm/file/BstFileSelector.java#L27
If you there are elements of your file system or mounts that you cannot access with Brainstorm, this is a Java-related bug. Some workarounds you may try:
- Upgrade your Matlab version, in order to get a newer version of Java bundled with it, where this bug might be fixed (to get the Java version used by Matlab, type "ver" in the Matlab command window)
- Google for help for this bug (JFileChooser of a specific Java version not showing your SSD drive on your OS)
- Use an external/newer Java Virtual Machine (JVM / JRE) with Matlab: https://fr.mathworks.com/matlabcentral/answers/130359-how-do-i-change-the-java-virtual-machine-jvm-that-matlab-is-using-on-windows
1 Like
Thank you for the answer!