Using SFIT objects from model workspace in Simulink embedded Matlab functions

1 回表示 (過去 30 日間)
moTo
moTo 2017 年 2 月 26 日
コメント済み: Sudarshan Kolar 2017 年 3 月 1 日
Hello together,
I am currently struggling with using two sfit objects in my Simulink Model. The objects are in my model workspace and are constant. However, I am not able to use them in a Matlab function as the constant Block does not allow this data type. Using the model explorer to set these objects as parameters doesn't work either.
Is there a way to somehow get these objects in my function or do I need to convert the sfit objects to an anonymous function?
Thanks in advance and with best regards
  1 件のコメント
Sudarshan Kolar
Sudarshan Kolar 2017 年 3 月 1 日
I understand that you want to bring an sfit object to Simulink constant block. Why do you want to do this?
Currently Simulink only supports data types listed here:
What exact data do you want to put in the constant block?

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

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by