Hi, We recently upgraded to TRNSYS 16_1 and I am experiencing again problems in using the type 155. I have Matlab 2007a but also the old version 2006a still on my PC and with the correct path settings for 2006a (as per Diego's email below) it does not work.
The error message I am getting is is as follows: *** Fatal Error at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : Your input file uses Type 155 (Calling Matlab). "Type155.dll" was found but could not be loaded. Please make sure that a supported version of Matlab is installed and that Matlab's "bin\win32" folder is on Windows' search path *** Fatal Error at time : 0.000000 Generated by Unit : 6 Generated by Type : 155 TRNSYS Message 105 : A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. A dummy subroutine was called in its place. Please link the TYPE or remove it from the input file Reported information : Type 155 was not found. Please make sure that Type155.dll is in the 'Userlib' folder. I have tried putting the Type155.dll file into the debug folder, the release folder and the UserLib folder itself but is does not seem to recognise it regardless of where the file is. Is there anything else that has been changed between T16 and T16_1? Is the type 155 also compatible with Matlab 2007a? I would appreciate if you could help me on this. Thanks, regards Paul -----Original Message----- From: Diego A. Arias [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 September 2006 10:45 PM To: Kohlenbach, Paul (DET, Newcastle) Cc: trnsys-users@engr.wisc.edu Subject: Re: [TRNSYS-users] Matlab 2006a with TRNSYS 16 Dear Paul, Type 155 is compatible with Matlab 2006a. You may experience problems if the Release 2006a is installed without unistalling the previous versions of Matlab. If you get an error when using Type155 after installing Release 2006a, you should check the Windows path variable in order to have the right link to the latest version of Matlab: - In Control Panel, double click on System. Click on tab 'Advanced'. - On the tab 'Advanced', click on button 'Environment Variables'. - In the lower pane, called 'System variables', scroll down until you find the variable 'path'. Click on 'Edit'. - In the box, 'Variable value', make sure that there is only one entry for Matlab, and that it corresponds to the latest release. For example, C:\Program Files\MATLAB\R2006a\bin\win32 If you are not sure about the path to the main Matlab directory, type 'matlabroot' on the Matlab command prompt. In the previous example, you should get C:\Program Files\MATLAB\R2006a. Best regards, Diego _______________________________________________ TRNSYS-users mailing list TRNSYS-users@engr.wisc.edu https://www.cae.wisc.edu/mailman/listinfo/trnsys-users