How to install/enable SimEvents?

36 次查看(过去 30 天)
Donald
Donald 2023-2-8
评论: Divyank 2023-2-10
I purchased SimEvents after purchasing and installing MatLab.
SimEvents appears to be installed based on Add-on Manager, but it doesn't appear when I run ver or in the Simulink Library Browser. Did I skip a step somewhere?

回答(1 个)

Divyank
Divyank 2023-2-8
Hello @Donald, it's possible that you might have installed 'SimEvents' in a different MATLAB installation or in a separate instance of MATLAB. Try checking the installed add-ons in the MATLAB installation that you use for your work and ensure that SimEvents is installed in the same instance.
You can also try restarting MATLAB or your computer to see if that resolves the issue.
  2 个评论
Donald
Donald 2023-2-8
As far as I can tell I only have a single instance of MATLAB installed. The Addon Manager (first screenshot) shows that SimEvents 5.13 installed, but there is no evidence of such anywhere else in the application. I restarted the application several times before posting this question, and restarted the computer immediately after posting the question.
Is there a way to force the library to update or re-index? Or anything else that could help?
Divyank
Divyank 2023-2-10
Here are some steps you can try to resolve this issue:
  • Refresh function and file system path caches using the following command in MATLAB:
>> rehash toolboxcache
  • This is equivalent to clicking the Update Toolbox Path Cache button, located in the General Preferences page of the Preferences Window.
  • If the issue persists, please try reinstalling SimEvents toolbox using the Add-On Explorer or the MATLAB command line using the following command:
>> matlab.addons.install('path/to/SimEvents.mltbx')

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by