Is possible to access to a MAT-file during the HIL simulation?
Mostrar comentarios más antiguos
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 comentarios
Carlos
el 3 de Sept. de 2013
Kaustubha Govind
el 3 de Sept. de 2013
Carlos
el 4 de Sept. de 2013
Kaustubha Govind
el 4 de Sept. de 2013
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
el 5 de Sept. de 2013
Kaustubha Govind
el 10 de Sept. de 2013
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
el 11 de Sept. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!