Hi Werner, Actually I am using the
type 155 but I want to win in speed simulation by compiling the matlab program
into a Dll and use it instead of calling the matlab program with the type 155. I
understand that I must write a wrapper according to TRNSYS calling conventions.
So I have a question, Can I create a skeleton FORTRAN program using the
procedure of adding a new component and after this call in the fortran program
the Dll that I create using Matlab compiler. Waiting for your answer Thanks a lot Ahmed De :
keilholz, werner [mailto:werner.keilholz@cstb.fr] Hi Ahmed, To directly use a DLL
compiled with MATLAB, you would have to write a wrapper that respects the
TRNSYS calling conventions, and then calls the functions in the MATLAB DLL. A much easier way to call
MATLAB from TRNSYS is to use Type 155 (in Utility/Calling
External Programs/Matlab). Werner De :
trnsys-users-bounces@engr.wisc.edu [mailto:trnsys-users-bounces@engr.wisc.edu] De la part de Hi, I want to know how I can use in TRNSYS Tkanks Ahmed |