Username Remember Me?
Password   forgot password?
   
   
Cant Find “Prtrace.m” and “Undefined function or variable ‘prtver’.”
Posted: 23 October 2010 05:48 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  4
Joined  2010-10-23

Hello,

i have just downloaded PRTools and i tried to run some examples but i matlab returned me the same error. More specificaly i received a message that “prtrace.m” file couldn’t found (and actualy there is no such a file).

This file is called from dendatd() function at line 45.

I found that i have to bypass this command so i wrote a m file for prtrace.m that does nothing.

The error dissappeared but i receid a new error about a function “prtver” as you can see above..
///////////////////////////
??? Undefined function or variable ‘prtver’.

Error in ==> C:\Matlab_ToolBoxes\prtools\@dataset\dataset.p>dataset at 93
/////////////////////////////

Any suggestion/help would be welcome ...

Profile
 
 
Posted: 23 October 2010 11:44 PM   [ Ignore ]   [ # 1 ]  
Moderator
RankRankRankRank
Total Posts:  253
Joined  2008-11-08

I guess there is something wrong with your download. In the prtools dir there should be about 400 files, among then prtrace.m and prtver.m. Try reinstalling again. Add prtools to the Matlab, cd outside it and run a command like

a = gendatb; w = parzenc(a); scatterd(a); plotc(w);

It should work fine.

Bob Duin

Profile
 
 
Posted: 24 October 2010 11:19 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  4
Joined  2010-10-23

Yes it does.....
Probably i didn’t unziped all files properly.
Thanks a lot..

Profile