Difference between revisions of "Updating the Matlab Interface after Matlab Upgrade"

From BESA® Wiki
Redirect page
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
#REDIRECT [[MATLAB_Interface#Updating_the_MATLAB_Interface_after_MATLAB_Upgrade]]
 +
 
{{BESAInfobox
 
{{BESAInfobox
 
|title = Module information
 
|title = Module information
 
|module = BESA Research Basic or higher
 
|module = BESA Research Basic or higher
|version = 5.2 or higher
+
|version = BESA Research 5.2 or higher
 
}}
 
}}
  
Line 9: Line 11:
 
# Make sure that the correct <span style="color:#ff9c00;">Matlab.dll</span> is installed by starting the tool "<span style="color:#ff9c00;">ConfigureBesaMatlabInterface.exe</span>" and selecting the corresponding Matlab version and architecture.
 
# Make sure that the correct <span style="color:#ff9c00;">Matlab.dll</span> 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. Alternatively, you can also run the attached [ftp://h1772544.stratoserver.net/public/Matlab/BESA_Utilities/UserRegMATLAB.p UserRegMATLAB.p] function to manually register your MATLAB version as a COM Automation Server. To switch the version of MATLAB that is registered, simply run the ''UserRegMATLAB'' command on the new version so that it becomes the new COM Automation Server. Finally for MATLAB 2020a and above you can just type ''comserver('register')'' in the desired MATLAB command line.
 
+
 
[[Category:Setup]]
 
[[Category:Setup]]

Latest revision as of 14:39, 6 May 2021