S-Function Builder Block referencing .dll
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to use the S-Function Builder block to incorporate a c++ function in my Simulink model. The c++ function references QTCore4.dll and I am having problems accessing this library. I tried to put it in the "Libraries" section and added my H files to the Includes section.
Is it possible to reference .dll libraries from an S-Function builder block?
0 Kommentare
Akzeptierte Antwort
Kaustubha Govind
am 7 Aug. 2013
DLLs are typically only used at run-time, not compile-time (the information you put in the S-function Builder is used to compile the generated S-function). You shouldn't need to specify DLLs in the S-function Builder, but simply make sure that the directory containing the DLL has been added to the System PATH environment variable (note: you will need to restart MATLAB to make sure the new PATH value is picked up. Run "getenv PATH" in MATLAB to see the PATH setting.)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Configure Block Features for MATLAB S-Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!