Using chrono in s-functions
4 ビュー (過去 30 日間)
古いコメントを表示
I am trying to use c++ chrono library in an s function inside MATLAB.The function builds but the clock doesnt seem to respond.Is there any way to directly use chrono inside S-functions without using ssGetT(S).
0 件のコメント
回答 (1 件)
Dinesh Yadav
2019 年 10 月 30 日
You can use chrono library inside S-Functions as long as the compiler you are using knows about those libraries. Check your compiler using
mex -setup C/C++
I am using Visual Studio Community 2019 compiler and it works for importing chrono inside s-functions.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!