How to use Simulink generated DLL into Matlab script?
조회 수: 3(최근 30일)
표시 이전 댓글
Geetanshu Chhajed 2023년 1월 28일
답변: Mark McBroom 2023년 1월 30일
I have generated DLL from a simulink model. But now I want to use this model DLL into the m script using load command. But here in DLL i am not even able to see which is the function and how i can give input arguments to it. Please consider the attached file for reference. How should i proceed further in this?
Mark McBroom 2023년 1월 30일
You should be able to call functions in DLL from MATLAB using either loadlibrary() https://www.mathworks.com/help/matlab/ref/loadlibrary.html
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!