Matlab C++ Wrapper

조회 수: 32 (최근 30일)
H Khalidi
H Khalidi 2020년 2월 26일
댓글: H Khalidi 2020년 3월 3일
I'm new to this so I apologise if the question is trivial. I have some code in Visual studio written in C++ , I want the outputs of the code to go into my simulink model and be processed there. I read online that a wrapper will help but I dont know how to make one or where to start. I'm not quite sure if I understand the current documentation either. Are there any tutorials that can guide me through making a wrapper?
Any guidance is appreciated :)

답변 (1개)

Dinesh Yadav
Dinesh Yadav 2020년 3월 3일
Hi,
Below I have attached an example of how to call external C++ Code in simulink using S-functions. Hope it helps.
To read more about S-functions type sfundemos in MATLAB command prompt and go through the examples under C/C++ S-functions.
  댓글 수: 1
H Khalidi
H Khalidi 2020년 3월 3일
Thank you so much!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by