Problem with register MATLAB as Automation Server

14 visualizaciones (últimos 30 días)
alara berfu efe
alara berfu efe el 12 de Jun. de 2019
Comentada: Guillaume el 1 de Abr. de 2020
I am doing a project in AWR design environment and I need to implement MATLAB block in my project. Before using this block, the MATLAB application must have been registered as a COM Automation Server. When I tried to apply this, I get " Unable to set Registry value for CLSID\{D620C860-925B-40A5-B82A-7AE2B9423D11}. You may not have sufficient priviliges. Re-run matlab as a user with administration access." error. What should I do?

Respuesta aceptada

Guillaume
Guillaume el 12 de Jun. de 2019
As the error message says your Windows user account must have administator privilege to install automation servers (matlab or otherwise). Note that it is a windows restriction, not matlab.
  3 comentarios
Giacomo Lamanna
Giacomo Lamanna el 1 de Abr. de 2020
Hi Guillaume, I had the same problem, I have to call a matlab function from C # visual studio, when I use the command:
! Matlab -regserver
also as administrator, nothing happens, do you know what it could be?
thanks
Guillaume
Guillaume el 1 de Abr. de 2020
If you don't have enough privileges you should see a popup telling you as much.
Possibly, nothing (in terms of display) is meant to happen if it succeed. I haven't tried recently.
Note that with a standard installation matlab should already be registered as an automation server, so normally you don't need to do anything.
You can easily check if matlab is registered by issuing;
matlab = actxserver('matlab.application');
You should get a matlab command window popping up if it's properly registered. An error otherwise.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by