Skip to content

KnownIssues

Simonas Marcišauskas edited this page May 16, 2021 · 2 revisions

Cannot import models in Excel format with importExcelModel

This happens due to the conflicting Apache POI binaries between the RAVEN Toolbox and MATLAB. To our knowledge, the conflicting Apache POI binaries originate from Text Analytics Toolbox. This toolbox uses Apache POI for MS Word docx files parsing and somehow introduces conflicts in Java classes. To fix this issue, remove this toolbox:

  • In Windows, remove it via MATLAB uninstaller found in Control Panel -> Programs and Features.
  • In macOS/Unix, remove the toolbox using MATLAB menu: HOME -> Add-Ons -> Manage Add-Ons, then select the toolbox and Uninstall. If MATLAB refuses to uninstall the toolbox due to insufficient privileges, close MATLAB completely, open Terminal and navigate to the directory where MATLAB installation is located. Then type ls -ll to see the owner of MATLAB and memorise it. Then enable the required privileges by typing:
sudo chown -R yourUserName MATLAB_R20xx.app

or

sudo chown -R yourUserName MATLAB_R20xx

depending on your system. Then open MATLAB, uninstall the toolbox and close it again. The last step is to restore the original privileges for MATLAB. Run sudo chown in Terminal again, just this time use the username of the original MATLAB owner. After these changes, run checkInstallation to ensure that models in Excel format can be imported.