WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2008-Jul-18 02:34:11

moodo
Member
Registered: 2008-Jul-18
Posts: 26

Problems with a Matlab Function

Hello!

I'm now working on the 3rd lab for the simple transmitter. And I hope my problem is also simple:
Everytime I want to run the sweeping_tx.mdl, I get following message in the Matlab Command Window:

Warning: When displaying: "sweeping_tx/Radio 2 DAC I", the expression "imread('WARP_Logo.jpg')" could not be evaluated. 
Check that the parameter entries and variables used in the Initialization command are valid MATLAB expressions.

And I realy have no idea!

Thanks for any proposals!!

Offline

 

#2 2008-Jul-18 07:53:33

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Problems with a Matlab Function

Make sure your copy of the WARP blockset for Simulink is up to date. I suggest having a folder <MATLABROOT>/toolbox/WARP that contains the three files from the repository: WARP_Blockset.mdl, WARP_Logo.jpg and slblocks.m. Then make sure this folder is added to the MATLAB path.

Offline

 

#3 2008-Jul-21 08:03:04

moodo
Member
Registered: 2008-Jul-18
Posts: 26

Re: Problems with a Matlab Function

I really checked all steps, but I don't get rid of this error message!

I try again...

Could it be possible, that the blockdiagramm requires other files/paths?

Offline

 

#4 2008-Jul-21 08:08:59

moodo
Member
Registered: 2008-Jul-18
Posts: 26

Re: Problems with a Matlab Function

I also get the message: Undefined function or variable 'ptable_'

Offline

 

#5 2008-Jul-21 09:33:34

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Problems with a Matlab Function

What version of System Generator do you have installed?

Offline

 

#6 2008-Jul-21 09:56:05

moodo
Member
Registered: 2008-Jul-18
Posts: 26

Re: Problems with a Matlab Function

I have 10.1...
but thanks otherwise, I already solved the problem.... I haven't known that the opb export tool plugins are not more used to install. I think this was the problem...

But I got another message:
??? Undefined variable "com" or class "com.xilinx.sysgen.XFixJavaLoader.setClassLoader"

I already checked for this error in any Matlab/Xilinx/Java supports, but I do not get an answer.
Maybe you already had such an error too, and can help me further...

Offline

 

#7 2008-Jul-21 10:10:12

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Problems with a Matlab Function

An error like that suggests a problem with the Sysgen or MATLAB installations. The latest lab exercises were built in Sysgen 10.1.02 (the .02 is important) in MATALB 2007a. Xilinx claims Sysgen 10.1.02 is also compatible with 2007b and 2008a, but we haven't tried either.

Offline

 

#8 2008-Jul-22 09:32:24

moodo
Member
Registered: 2008-Jul-18
Posts: 26

Re: Problems with a Matlab Function

thank you, really, just the .02 was missing!

Offline

 

Board footer