Hi Jaime,
Type 155 is in a separate DLL, .\Trnsys16\Exe\Type155.dll (not
in userlib as the message says).
This DLL must match your Matlab version. If I remember it right,
Trnsys16 was delivered with a version for Matlab 2007a.
Your Trnsys distributor can provide one for 2008. (I’m not
sure we have one for 2009).
If you have a Fortran compiler, you can recompile it yourself (open
.\Trnsys16\Compilers\Cvf66\Cvf66.dsw , update the tree on the left under
“Type 155 files”, “Libraries” (delete
the ones there (except Trndll.lib) and put the ones from your MATLAB version, which
you find typically under
.\Program Files\MATLAB\R200Xx\extern\lib\win32\microsoft\lib*.*)
, then rebuild).
Also check this
http://www.mail-archive.com/trnsys-users@engr.wisc.edu/msg00763.html
If you want to get rid of the French messages, just delete (or
rename) the file .\Trnsys16\Studio\Exe\dictionary.xml
Werner
De : Jaime Gonzalez
Rodriguez [mailto:gonzalezro.jaime@gmail.com]
Envoyé : vendredi 12 février 2010 10:32
À : trnsys-users@cae.wisc.edu
Objet : [TRNSYS-users] trnsys-matlab TYPE155
Hello,
I have a doubt about trnsys-matlab type 155. I was trying to run it with trnsys
16 and matlab 2009b 64 bits unsuccesfully, then I read somewhere that it is not
possible to run this typpe on 64 bits matlab yet, so I decided to run it in a
32 bits computer, the trnsys version would be trnsys 16 still and the matlab
version would be matlab 7.6.0 (R2008a), in this second attempt I'm getting the
same result. I'll copy here my errors.
Votre fichier d'entree utilise le Type 155 (appel á Matlab)
"Type155.dll" a éte trouvé mais n'a pas pu être chargé. Veuillez vous
assuré qu'une supporté de MATLAB est installée et que MATLAB's
"bin\win32" est definie dans la variable PATH e Windows
Un composant (Type) utilisé dans le projet n'a pas été trouvé , ni dans
trnlib.dll, ni dans une DLL externe. Une routine par défaut a été appelée à sa
place. Veuillez ajouter le composant (en copiant le fichier .DLL, par exemple)
ou alors l'enlever du projet (du fichier d'entrée)
Information suplémentaire: Type 155 was not found. Please make sure that
Type155.dll is in the 'Userlib' folder.
My French is even worse than my english, but if I got it in the first message
it says something like it found my Type155.dll but it wasn't able to load it,
so I have to make sure that I have a supported version of Matlab and that it is
defined through the windows path (I already checked that it is)
In the second one it says something like it wasn't able to find the TYPE 155
nor in the trnlib.dll, neither as an extern DLL.
I'd appreciate some help, because I don't know whether this type works on this
trnsys and matlab versions or not and I don't wanna waste my time trying to
figure out how to work something which can't work
Thank you very much in advance and sorry for this long speach
--
Jaime. González Rodríguez