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

Re: [TRNSYS-users] Simulink +Trnsys v17 Error



Depending on the Trnsys version you have, you may also have to copy the .dll files found in

\Trnsys17\exe

to your working directory (or make sure it is in the PATH).

 

Werner

 

De : trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] De la part de keilholz, werner
Envoyé : vendredi 8 avril 2011 10:19
À : Marcos Porras; trnsys-users@cae.wisc.edu
Objet : Re: [TRNSYS-users] Simulink +Trnsys v17 Error

 

Hi Marcos,

 

This error sound like you just don’t use the right ‘current directory’ in Matlab when you try to run your simulation in Matlab.

 

Ini_type is a Matlab script generated during the export in the directory where the Matlab component is generated. This directory must be the current directory when you run (or you have to copy everything (including trndll, generated scripts, etc. ) to the place where you run your Matlab simulation.

 

Werner

 

 

De : trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] De la part de Marcos Porras
Envoyé : lundi 4 avril 2011 19:48
À : trnsys-users@cae.wisc.edu
Objet : [TRNSYS-users] Simulink +Trnsys v17 Error

 

Hello everyone,
I am trying to export a Trnsys type into a Simulink model,
I am getting the following alarms in my simulink model, and I can´t find the error..
1.Error in 'TRNSYS_Type_5/TRNSYS 1': Initialization commands cannot be evaluated.
2.Undefined function or variable 'ini_type'.
Has anyone experience in this field, exporting types into Simulink??
Thanks in advance.
Best regards,

--
Marcos Porras