AnsweredAssumed Answered

vrf MATLAB together with VEEPro

Question asked by VRFuser on Apr 16, 2002
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><XETA content="text/html; charset=iso-8859-9" http-equiv="Content-Type"><XETA content="MSHTML 5.50.4807.2300" name="GENERATOR"><STYLE></STYLE><META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD><BODY bgColor=#ffffff><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002>The MATLAB Script will not be able to use M-files. The only way that I know of is to use MATLAB's development environment to create P-files ('compiled' M-files). These can then be used by MATLAB Script. This has to do with how The Mathworks setup MATLAB Script engine to work.</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002>But if/since you have MATLAB 5.1 you can easily create P-files using the pcode command.</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002>//</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002></SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN class=328455214-16042002><FONT face=Arial size=2>Gran Johnsson</FONT> <BR><FONT face=Arial size=2>Technical Consultant - Test Automation<B></B></FONT> </DIV><DIV><P><FONT face=Arial size=2>Agilent Technologies</FONT> <BR><FONT face=Arial size=2>P.O. Box 52</FONT> <BR><FONT face=Arial size=2>Kronborgsgrnd 23</FONT> <BR><FONT face=Arial size=2>164 94 Kista</FONT> <BR><FONT face=Arial size=2>Sweden</FONT> <BR><FONT face=Arial size=2><I>  </I></FONT><BR><FONT face=Arial size=2>Tel:       +46 (8) 5064 8789</FONT> <BR><FONT face=Arial size=2>Fax:      +46 (8) 5064 8616</FONT> <BR><FONT face=Arial size=2>Mobile:  +46 (70) 325 2089</FONT> <BR><FONT face=Arial size=2>Email:   goran_johnsson@agilent.com</FONT> <BR><FONT face=Arial size=2>Web:     <A href="http://www.agilent.com/" target=_blank>http://www.agilent.com</A></FONT> <BR><FONT face=Arial size=2>Intranet: <A href="http://tmsw.sweden.agilent.com/" target=_blank>http://tmsw.sweden.agilent.com</A></FONT> </P><BR><BR></SPAN></FONT></DIV><BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma   size=2>-----Original Message-----<BR><B>From:</B> Cengiz Eken   [mailto:ceken@aselsan.com.tr]<BR><B>Sent:</B> Monday, April 15, 2002   13:09<BR><B>To:</B> vee_user_group<BR><B>Subject:</B> vrf MATLAB together with   VEEPro<BR><BR></FONT></DIV>  <DIV><FONT face=Arial size=2>Dear All,<BR>We have a problem on using already   installed Matlab5.1 together with VEE6.01.<BR>For this case I shouldn't have   any problem on using Matlab according to the Agilent VEE Pro's Help. But when   we run a VEE program that contains Matlab Script and this script calls a   Matlab .m file(s), we have a "VEE Run Time Error" as below. </FONT></DIV>  <DIV> </DIV>  <DIV><FONT face=Arial size=2>"Matlab Script Execution Error<BR>Matlab Error   Message. Error loading *.m<BR>M-files cannot be run in Runtime   Matlab.<BR>Error number: 593."</FONT></DIV>  <DIV> </DIV>  <DIV><FONT face=Arial size=2>It is stated in the "Multiple MATLAB Versions"   part of the "Matlab Script" help that :<BR>"Before VEE uses the MATLAB Script   engine, it checks if MATLAB is already registered on the system.  If   MATLAB is already present, the MATLAB Script engine installed with VEE is not   registered as the MATLAB Automation Server.  In this case, VEE uses the   existing MATLAB and does not interfere with the operation of the MATLAB   development environment."</FONT></DIV>  <DIV> </DIV>  <DIV><FONT face=Arial size=2>If VEE uses the existing Matlab why do we have   this problem? What can you suggest to use existing MATLAB 5.1 with   VEE6.01?<BR>Regards<BR>Cengiz Eken<BR>Sr.Test Engineer</FONT></DIV></BLOCKQUOTE></BODY></HTML>  

Outcomes