Difference between revisions of "Updating the Matlab Interface after Matlab Upgrade"
From BESA® Wiki
Line 7: | Line 7: | ||
Sometimes after installation of new/additional Matlab version on one computer the BESA to Matlab interface stops working. The reason is the registry change/corruption caused by the newly installed version. In order to correct this one has to perform the following steps: | Sometimes after installation of new/additional Matlab version on one computer the BESA to Matlab interface stops working. The reason is the registry change/corruption caused by the newly installed version. In order to correct this one has to perform the following steps: | ||
# Make sure that in the ''"Path"'' environment variable only the path to one Matlab version exists. | # Make sure that in the ''"Path"'' environment variable only the path to one Matlab version exists. | ||
− | # Make sure that the correct Matlab.dll is installed by starting the tool "ConfigureBesaMatlabInterface.exe" and selecting the corresponding Matlab version and architecture. | + | # Make sure that the correct Matlab.dll is installed by starting the tool "<span style="color:#ff9c00;">ConfigureBesaMatlabInterface.exe</span>" and selecting the corresponding Matlab version and architecture. |
# In the DOS command prompt execute the following command with administrator rights <source lang="dos">matlab -regserver</source> (registers MATLAB as a Component Object Model (COM) server). | # In the DOS command prompt execute the following command with administrator rights <source lang="dos">matlab -regserver</source> (registers MATLAB as a Component Object Model (COM) server). | ||
# Sometimes if the Matlab license is connected to a specific user account and the user account does not have administrator rights it could be problematic to execute that command. In that case change the corresponding account to an administrator account and then perform the actions again. After that the account could be made to regular user account again. | # Sometimes if the Matlab license is connected to a specific user account and the user account does not have administrator rights it could be problematic to execute that command. In that case change the corresponding account to an administrator account and then perform the actions again. After that the account could be made to regular user account again. | ||
[[Category:Setup]] | [[Category:Setup]] |
Revision as of 16:31, 18 May 2017
Module information | |
Modules | BESA Research Basic or higher |
Version | 5.2 or higher |
Sometimes after installation of new/additional Matlab version on one computer the BESA to Matlab interface stops working. The reason is the registry change/corruption caused by the newly installed version. In order to correct this one has to perform the following steps:
- Make sure that in the "Path" environment variable only the path to one Matlab version exists.
- Make sure that the correct Matlab.dll is installed by starting the tool "ConfigureBesaMatlabInterface.exe" and selecting the corresponding Matlab version and architecture.
- In the DOS command prompt execute the following command with administrator rights (registers MATLAB as a Component Object Model (COM) server).
matlab -regserver
- Sometimes if the Matlab license is connected to a specific user account and the user account does not have administrator rights it could be problematic to execute that command. In that case change the corresponding account to an administrator account and then perform the actions again. After that the account could be made to regular user account again.