Problems with slCharacterEncoding using network session

2 visualizaciones (últimos 30 días)
Daniel Lemus
Daniel Lemus el 3 de Oct. de 2017
Respondida: Chandani Madnani el 5 de Oct. de 2017
Hi
I have been trying to use
slCharacterEncoding
to change the character encoding and load a Simulink model saved in a different computer in windows 10. Using a local session in the pc I can change the encoding without any issue. However when I log in with my university account matlab takes more than 30 minutes to run the 'slCharacterEncoding'. I have already contacted the IT department for this issue but I wanted to have a bit more information what exactly does the 'slCharacterEncoding' command and how might this be affected by network configurations (maybe some security parameters...).
PS: Even opening simulink takes very long time.

Respuestas (1)

Chandani Madnani
Chandani Madnani el 5 de Oct. de 2017
This could be happening because of license checkout delays on the network.
Try to execute the following command to verify the time taken for license checkout: >> [status,errmsg] = license('checkout','matlab')
where 'matlab' could be replaced by any other toolbox too.
Once MATLAB is launched a MATLAB license is checked out until the MATLAB session is exited. In general, this also holds true for toolboxes. As soon as someone launches a MATLAB session and then uses a command from a toolbox, a toolbox license is checked out until the session of MATLAB is exited. For example, if a user launches MATLAB and then from the command line uses the command SINC, the user will have two licenses checked out: MATLAB and the Signal Processing Toolbox. Usually, these licenses will not be returned to the license pool until the user exits their session of MATLAB.

Categorías

Más información sobre Manage Products 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