Can I use Matlab function blocks in a simulink library?

I try to add a Matlab function block to my simulink library. With "normal" simulink blocks, this works fine: When I add the block to a model, the new block is linked to the library as expected.
However, when I do the same with a Matlab-function block (I mean one of these blocks ) , the block is just copied to the new model, but it is not linked.
So my questions are:
  • Am I missing something or is this standard/intended behaviour, that ML-function blocks are not linked?
  • Is there a way to link Matlab-function blocks to a library, so that the block changes whenever I change the library?

 採用された回答

Chris
Chris 2017 年 8 月 14 日

0 投票

The problem solved itself. When I reopened the model, all blocks were linked, "normal" ones as same as Matlab-function blocks. So - yes, Matlab function blocks can be used in simulink libraries.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Environment Customization についてさらに検索

質問済み:

2017 年 8 月 14 日

回答済み:

2017 年 8 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by