Problems with slCharacterEncoding using network session
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Chandani Madnani
2017-10-5
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!