[TRNSYS-users] Type 155 Error in List file

ts0g . tsogas8 at hotmail.com
Thu Sep 20 04:24:45 PDT 2012



Dear all ,I have confronted this error message as i tried to run the Example_Matlab. Note that the Example_MultipleUnits is running completely fine.


<<Error - Type 155 - Message : The M-File did not properly set 'mFileErrorCode' to 0 when it was called.This may indicate that an erroroccured in Matlab while running the M-File. 'mFileErrorCode' was left to 1 by the M-File. You can set ignoreEngineClose to 1 and run the 'lasterr'command in Matlab to help diagnose the problem. The error occured at info(7)=  0 , info(13) = 0.>>

So I opened the Solarcollector.m in order to inspect any possible errors but i couldn't figure this out,while the 'lasterr' command doesn't return anything. Any help would be much appreciated.

Kind Regards,Kostas 



--Forwarded Message Attachment--
From: yualtunbas at gmail.com
To: trnsys-users at cae.wisc.edu
Date: Tue, 18 Sep 2012 08:12:34 +0300
Subject: [TRNSYS-users] Calling Matlab r2007b in Trnsys

Hi,
 
I have problems with matlab and trnsys usage. Could you please help me? 
 
I am using Windows Xp 32 bit. I try to run "Calling Matlab" example via Trnsys r16 with Matlab R2007b. But I receive the following errors:
 
 
*** 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   :      3624.000000
    Generated by Unit     :    19
    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.
 
 
Is the only suiatable Matlab version is 6.5?
 
Could you please tell me a solution? Thank you.
Kind Regards.
Utku Altun 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120920/954e28fb/attachment-0005.htm>


More information about the TRNSYS-users mailing list