Clear Filters
Clear Filters

MATLAB Runtime201​5a,2015b,2​015aSP1につい​て、dllが不足する​件

1 view (last 30 days)
MATLAB Runtime 2015aSp1,2015a,2015bをダウンロードして、Path設定しExe実行したところ以下のエラーメッセージが出ました。 「コンピュータにlibmwsl_fileio.dllがないため、プログラムを開始できません。」 Runtime以下を検索しましたが上記のdllはインストールされていません。解決方法をお教えください。

Accepted Answer

Kazuya
Kazuya on 16 Oct 2018
Edited: Kazuya on 16 Oct 2018
libmwsl_fileio.dll で検索したところ、下記が見つかりました。
詳しいことはわかりませんが、、
"Due to licensing restrictions you cannot create standalone versions of your Simulink model which are not dependent on some libraries of the installation. Those libraries are also not included in the MCR."
とのこと。エラーが出るのは Simulink モデルが含まれる exe ですか?

More Answers (2)

YABE HIROKO
YABE HIROKO on 16 Oct 2018
>エラーが出るのは Simulink モデルが含まれる exe ですか? そうです。Simulinkモデル上でToFileブロックを追加するとlibmwsl_fileio.dllが必要になるようです。 libmwsl_fileio.dllについては、別バージョンのRuntimeにはこのdllは含まれているのですが、2015に含まれていないのでパッケージ忘れかと思ったしだいです。
  1 Comment
Yoko
Yoko on 16 Oct 2018
RSim で exe を作成し、動作されておりますか?また、別バージョンとは、R2015a より前のバージョンでしょうか?その場合、libmwsl_fileio.dll がパッケージに含まれていないのは、ライセンスの制約に関連しています。 Simulink モデルを MATLAB/Simulink のない環境で動かす方法は、上記リンクで記載されているように、Embedded Coder で提供されている ert_shrlib.tlc を使って Shared Library (DLL)作成する方法のみとなります。

Sign in to comment.


YABE HIROKO
YABE HIROKO on 16 Oct 2018
ライセンス制約であることを理解しました。ありがとうございました。

Community Treasure Hunt

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

Start Hunting!