Hi Max, Basically, you only need
to add a type 155 to your project, and specify the name of the .m file made
with MATLAB. The ‘trick’
is that the file has to be specified under ‘special cards’ (not ‘external
files’). You also have to set the
number of arguments of the MATLAB function (Number of inputs sent to Matlab in trnInputs(1:nI),
Parameter 2) and the dimension of the output vector sent back by MATLAB (Number
of outputs from Matlab in trnOutputs(1:nO), Parameter 3) There is also an example
under .\Trnsys16\Examples\Calling Matlab Hope this helps, Werner De : Max Werlein
[mailto:maxwithhat@hotmail.com] Hi everybody, Express yourself instantly with MSN Messenger! MSN
Messenger ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ |