Is possible to access to a MAT-file during the HIL simulation?
이전 댓글 표시
Hi, I'm developing a target for a especific hardware. I generate a dll I need to acces to a MAT-file located in the same hardware to change some variables during the simulation. I have seen the files 'matdgns.c' and 'matcreat.c'. But I don't know how can I run this code in my hardware. Thanks in advance
댓글 수: 7
Carlos
2013년 9월 3일
Kaustubha Govind
2013년 9월 3일
Carlos
2013년 9월 4일
Kaustubha Govind
2013년 9월 4일
Could you explain more about how you are incorporating the MAT-file reading C-code into your model. Is it an S-function? What happens if you exclude matrix.h, but include mat.h?
Carlos
2013년 9월 5일
Kaustubha Govind
2013년 9월 10일
Carlos: If you're writing a DLL independent of MATLAB to access the MAT-file, I don't understand why you have included simstruc.h - which is why I was asking if your DLL is an S-function.
Carlos
2013년 9월 11일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!