Model reference function-call output invalid connection
22 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using a model reference block inside which there is a C MEX S-Function with a function-call output. When I connect the function block (once in the parent simulink diagram) to a function-call subsystem I receive an error telling me that the connection inside the referenced block between S-Function and outport block is invalid because the outport block is not a function-call model.
Does anyone know how can I use reference a model with a function-call outport?
Thanks,
Borja
0 件のコメント
回答 (2 件)
Nirmal Gunaseelan
2013 年 8 月 7 日
Could you also paste the exact message? I guess you have already checked the box "Accept Function call" in the Outport block.
Currently, function-calls cannot cross model reference boundaries. This is however on the radar to be allowed in a future release - have a look out in release notes of future releases.
0 件のコメント
Borja Heriz
2013 年 8 月 8 日
1 件のコメント
Nirmal Gunaseelan
2013 年 8 月 8 日
編集済み: Nirmal Gunaseelan
2013 年 8 月 8 日
Borja,
Is 'Test3/fcall' a referenced model or a function-call subsystem? Currently it has to be a function-call subsystem or a regular subsystem with an Inport block marked as "Output function call".
The field "Accept function call" can be found in the block dialog of the Outport block. You have to have this parameter checked ON if you want to allow it to pass function-call signals into a subsystem (not a referenced model).
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!