Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: simmechanics link install help PRO/E
Date: Mon, 23 Nov 2009 16:56:44 -0000
Organization: The MathWorks, Inc.
Lines: 80
Message-ID: <heeesd$hcn$1@fred.mathworks.com>
References: <he3ump$97m$1@fred.mathworks.com> <he4e7t$jb0$1@fred.mathworks.com> <hee7qj$kf7$1@fred.mathworks.com>
NNTP-Posting-Host: uk-mieegea.mathworks.co.uk
X-Trace: fred.mathworks.com 1258995405 17815 172.16.27.185 (23 Nov 2009 16:56:45 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 23 Nov 2009 16:56:45 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:587232



"Alex " <a.mlw.walker@googlemail.com> wrote in message 
news:hee7qj$kf7$1@fred.mathworks.com...
>
> Thanks Arnaud, now Pro e openst the splash screen but doesnt make it any 
> further than that.
>
> This is what I have.
>
> At the location
> F:\ProEngineer\matlab\proeStartUp_WF4
> I have in that folder config.pro only includes the line:
>
> toolkit_registry_file F:\ProEngineer\matlab\proeStartUp_WF4\protk.dat
>
> I tried to copy the original config.pro and just add the line to the 
> bottom of it, but it caused errors. there are still errors though with 
> just the above line in config.pro
>
>
> I have the protk.dat file which has inside of it
>
> NAME SimMechanics Link
> STARTUP dll
> EXEC_FILE F:\Program Files\MATLAB\R2009b\bin\win32\cl_proe2sm.dll
> TEXT_DIR F:\Program
> Files\MATLAB\R2009b\toolbox\physmod\smlink\cad_systems\proe\text
> UNICODE_ENCODING false
> END
>
> I was slightly confused about the startup.m file. At the moment all it has 
> in it is the line
> enableservice('automationserver',true);
> and is saved in
> E:\Documents and Settings\Alex\MATLAB
>
> which is the folder that matlab initially looks at when you open it.
>
> I opened the properties to PRO E shortcut, and in the start in line, I 
> added
> F:\ProEngineer\matlab\proeStartUp_WF4
>
> at the location
> F:\ProEngineer\matlab\proeStartUp_WF4 when i run pro e and it fails it 
> creates a file called std.OUT which holds numerous errors, below are the 
> first three
>
> ERROR - F:\ProEngineer\text\config.pro, linenum 3 :  Keyword 
> 'ACTIVATE_SKETCH_WITH_DFLT' is not valid.
> ERROR - F:\ProEngineer\text\config.pro, linenum 6 :  Keyword 
> 'ADOBE_DISTILLER' is not valid.
> ERROR - F:\ProEngineer\text\config.pro, linenum 15:  Keyword 
> 'ALLOW_MULTIPLE_TOOL_TIPS' is not valid.
>
> the config.pro file i created ONLY has the line
> toolkit_registry_file F:\ProEngineer\matlab\proeStartUp_WF4\protk.dat
>
> The only positive, is when I run matlab and check to see whether the 
> server is working it returns 1.
>
> thanks again
>
> Alex
>

It looks like Pro/E is looking at a different config.pro to the one you 
created in F:\ProEngineer\matlab\proeStartUp_WF4. Maybe rename the 
config.pro in F:\ProEngineer\text\ to something like config.old and see if 
that fixes it. You can then try adding the lines from 
F:\ProEngineer\text\config.old to 
F:\ProEngineer\matlab\proeStartUp_WF4\config.pro one a time to see if it 
still works. That should help you narrow down what's wrong. This seems to be 
more a Pro/E issue rather than a MATLAB one so you may have more luck on a 
Pro/E forum.

HTH,

Arnaud