[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@yahoo.com>
To: Rekiya Suleiman <omohu_s@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@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@yahoo.com>
To: Rekiya Suleiman <omohu_s@yahoo.com>
Cc: trnsys-users@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@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] On Behalf Of Rekiya Suleiman
Sent: 21 February 2011 21:32
To: trnsys-users@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@yahoo.com>
To: trnsys-users@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 Bello University , Zaria

Nigeria .