Simulink Real-Time Library linux

7 ビュー (過去 30 日間)
Alessandro Luppi
Alessandro Luppi 2017 年 3 月 16 日
コメント済み: Linzhu Yue 2022 年 8 月 15 日
I'm trying to work with a co-simulator that communicates with Simulink using UDP packets. The problem is that in my Matlab installation I can't find the necessary library (Simulink real-time). I read carefully each Matlab components during the installation but on Linux that library isn't present, on windows instead there is.
The missing block is this one here . Is there an alternative for that block available also for linux?
Thanks

回答 (1 件)

Alisha Schor
Alisha Schor 2017 年 3 月 20 日
The Byte Packing block should exist on both Linux and Windows installations. It should be located in the Simulink Real-Time > Utilites library. You can access this directly by typing in "xpcutilitieslib" at the command line. If the block exists there, you can simply replace the missing block in your model.
If the block does not exist in your Simulink Library browser, you can try refreshing the toolbox information by entering the command:
>> rehash toolboxcache
If you have Simulink customizations, you may need to also issue the command:
>> sl_refresh_customizations
  2 件のコメント
Arjun Sarin
Arjun Sarin 2020 年 5 月 25 日
Although this topic is already three years old I would like to bring it up again:
The Simulink Real-Time Package is not available for Linux. So how can I install the "xpcutilitieslib" when the real-time package does not show up in the Matlab Installer? How can I use the Byte Packing block on Simulink Linux without installing Simulink Real-time?
Linzhu Yue
Linzhu Yue 2022 年 8 月 15 日
Yes, It do not work also in 2022 August

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelopment Computer Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by