[TRNSYS-users] Fw: error message in calling matlab from trnsys

Rekiya Suleiman omohu_s at yahoo.com
Tue Feb 22 03:29:57 PST 2011


Dear Mehdi
Thanks for your prompt response. The 'Type 155.dll' I have actually works with 
the examples Calling Matlab in TRNSYS but when I try to call my own code written 
also in matlab it gives the error 'undefined command/function 'trnInputs''. I 
have tried your suggestions without success, is there anything else I can try.
Regards

Rekiyat




________________________________
From: Mehdi Shahrestani <mahdishahrestani at yahoo.com>
To: Rekiya Suleiman <omohu_s at yahoo.com>
Sent: Tue, February 22, 2011 11:48:42 AM
Subject: RE: [TRNSYS-users] Fw: error message in calling matlab from trnsys


Rekiyat 
 
I does not matter which version do you have type 155 is planned to work with all 
versions (I think). But the problem is for some versions you have to rebuild dll 
file again.
Anyway, the only thing that I can do is sending you two off my dll with the 
following instruction.
 
1-     As attached you can find two folder (old and new) 
2-     First download these two on you desktop
3-     Then go to C:/Trnsys/exe and cut the file type 155.dll (your original dll 
file) from this folder to a safe place
4-     Copy the old  “ Type 155.dll” which I sent you instead of your original 
dll 

5-     Open the file Calling Matlab-MultipleUnits.tpf (located in 
c:/Trnsys/example/calling_matlab/) 

6-     If you was able to run this file without error that means your problem is 
solved 

7-     If not replace the second dll which I sent it to you “ new folder” (
8-     If none of this two dll files solve the problem replace your original 
type 155 dll which you have already put in a safe place.
 
Hope it helps
 
Regards
Mehdi
 
 

________________________________

From:Rekiya Suleiman [mailto:omohu_s at yahoo.com] 
Sent: 22 February 2011 06:29
To: Mehdi Shahrestani
Subject: Re: [TRNSYS-users] Fw: error message in calling matlab from trnsys
 
Dear Mehdi
Thanks a lot for your mail, I have Matlab2006a. could this possibly be the 
reason for the error message.
Thanks again.
 
Rekiyat

 
 

________________________________

From:Mehdi Shahrestani <mahdishahrestani at yahoo.com>
To: Rekiya Suleiman <omohu_s at yahoo.com>
Cc: trnsys-users at cae.wisc.edu
Sent: Mon, February 21, 2011 10:58:25 PM
Subject: RE: [TRNSYS-users] Fw: error message in calling matlab from trnsys
Dear Rekiyat
 
Couple of months ago I had the same problem. It should be related to the type155 
dll file which calls Matlab. 

This file some times is not compatible with your Matlab version.
Anyway, I have this dll for Matlab 2009a if you have the same version it could 
solve the problem.
Please let me know you matlab version.
 
Regards
Mehdi
 
 
 

________________________________

From:trnsys-users-bounces at cae.wisc.edu 
[mailto:trnsys-users-bounces at cae.wisc.edu] On Behalf Of Rekiya Suleiman
Sent: 21 February 2011 21:32
To: trnsys-users at cae.wisc.edu
Subject: [TRNSYS-users] Fw: error message in calling matlab from trnsys
 
Dear trnsys users,
Please I am still waiting for help on the forwarded problem, please help!
Thanks
 
Rekiyat
 
----- Forwarded Message ----
From: Rekiya Suleiman <omohu_s at yahoo.com>
To: trnsys-users at cae.wisc.edu
Sent: Fri, February 18, 2011 8:03:40 PM
Subject: error message in calling matlab from trnsys
Hi,
Please can anyone help, I'm still learning to use the trnsys program. I am 
trying to use Type155 to call a code written in matlab but I keep getting the 
error message 'undefined command/function 'trnInputs'". What can I do to get out 
of this.
 
Rekiyat Suleiman
Dept of Mechanical Engineering 
Ahmadu , Zaria Bello University
Nigeria .


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110222/d1e72150/attachment-0005.htm>


More information about the TRNSYS-users mailing list