フィルターのクリア

How can I pass string values from workspace to simulink?

6 ビュー (過去 30 日間)
celia muñoz
celia muñoz 2017 年 5 月 22 日
コメント済み: Emerson Butler 2019 年 4 月 18 日
I have a string variable in Matlab workspace and I want to work with it in a Simulink fuction. Is it possible?
  1 件のコメント
Emerson Butler
Emerson Butler 2019 年 4 月 18 日
I have this same question, did you ever find a way? Matlab 2018 has a String library for Simulink, but I have 2017 and thus no string library. I was thinking about converting my string to ASCII, and then to uint8, passing that int to simulink, and then using a Matlab Function block to convert from into to ASCII to string, but I get an error saying "String class is not supported for code generation", which makes me think simulink pre-2018 has no string support.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeString についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by