Can I integrate the Qt Framework with a S-Function block in Simulink 7.3 (R2009a)?

3 ビュー (過去 30 日間)
I want to do my own Qt Visualization with a S-Function block that I generate in Simulink. Is this possible and where do I start?

採用された回答

MathWorks Support Team
MathWorks Support Team 2013 年 10 月 18 日
The Qt Framework is based on a C++ library, so the integration should be similar to other third party C++ libraries.
Qt Framework can deploy applications to a variety of platforms. For Windows, there is an option to build Qt as a shared library
<http://doc.trolltech.com/4.1/deployment-windows.html>
In terms of integrating to S-Functions, you can load these shared libraries and make function calls from the deployed Qt application.
Additionally, Simulink S-Functions have multiple entry points. This means that depending on the action being called in Simulink, it calls a certain portion of the code in S-Function.
Therefore, users should be aware of the S-Function structure when interfacing with Qt function calls.
However, please note that one cannot simply link against the Qt libraries that are already included in the MATLAB installation.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

製品


リリース

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by