C++ S-function in Real-Time Windows Target

この 質問 は Stefanie Schwarz さんによってフラグが設定されました
  • Stefanie Schwarz さんによって 2021 年 9 月 13 日 に 複製 としてフラグが設定されました。

    It's an exact duplicate of: https://www.mathworks.com/matlabcentral/answers/112231-c-s-function-in-real-time-windows-target?s_tid=srchtitle

Hello to all,
I have written a C++ S-function to be used on HIL. To test it firts, I have used the counter C++ S-function example (sfcndemo_counter_cpp).
It works and compile to Real-Time Windows Target properly, but when I want to connect to target (RT Windows target) the following erros appears:
Error occurred while executing External Mode MEX-file 'rtwinext': Error loading real-time executable: undefined symbol "_Znwy"
Does Real-Time Windows target work with C++ S-function?
I am using Matlab R2013b, Windws 7 64-bits.
Thank you in advance

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2014 年 1 月 13 日

閉鎖済み:

2021 年 9 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by