WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2010-Feb-21 07:55:30

mixit
Member
Registered: 2010-Feb-21
Posts: 13

Lab 1 and 3

Hi

Lab1: I get these errors when i try to run warplab_mimo_2x2_GUI.m file

Error in ==> warplab_mimo_2x2_GUI>warplab_mimo_2x2_GUI_OpeningFcn at 63
pnet('closeall');

Error in ==> gui_mainfcn at 221
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in ==> warplab_mimo_2x2_GUI at 42
    gui_mainfcn(gui_State, varargin{:});


Lab3: I get these errors when i try to run the sweeping_tx.mdl

Error1:
Message->Block Error
Source -> Accumulator
Repoted by -> System Generator
Summary -> Fatal Internal Error

sweeping_tx/Accumulator
An internal error occurred in the Xilinx Blockset Library

Error2:
Message->Block Error
Source -> Accumulator
Repoted by -> Simulink
Summary -> Error reported by S-function 'sysgen' in 'sweeping_tx/Accumulator'

Please suggest whats wrong.

I am using matlab r2007b and the Current version of System Generator is 10.1.3.1386

Offline

 

#2 2010-Feb-21 11:24:21

sgupta
Administrator
Registered: 2007-Feb-26
Posts: 104

Re: Lab 1 and 3

For lab 1, do you have the pnet toolbox installed? For instructions look at Step 2 here.

For lab 3, do you have the model you are trying to simulate or MATLAB installed a directory with spaces? For example C:\Program Files\MATLAB? System Generator is unhappy about spaces in the path. You should relocate your MATLAB installation and your model files to one without spaces like C:\MATLAB.

Offline

 

#3 2010-Feb-22 09:43:30

mixit
Member
Registered: 2010-Feb-21
Posts: 13

Re: Lab 1 and 3

1. I downloaded the TCP/UDP/IP Toolbox 2.0.6 but there are no instructions on how to install it. I tried to follow the instructions given in http://warp.rice.edu/trac/wiki/edk_user_repository (for installing WARPLab toolbox) to install the tcp_udp_ip toolbox but that doesn't work.

2. My model file as well as Matlab are in directories without any spaces.

Please help. Thanks

Offline

 

#4 2010-Feb-22 10:01:17

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

Re: Lab 1 and 3

1) It's a standard mex function and just needs to be somewhere in the MATLAB path. We generally copy the tcp_udp_ip folder to <MATLABROOT>\toolbox\tcp_udp_ip\, then add that folder to MATLAB's path (via File->Set Path). When it's installed properly, you should be able to run 'help pnet' on the MATLAB command line.

2) Do you have ISE 10.1 installed, including service pack 3 and IP update 3?

Offline

 

#5 2010-Feb-27 10:16:39

mixit
Member
Registered: 2010-Feb-21
Posts: 13

Re: Lab 1 and 3

I updated my ISE 10.1 with service pack 3 and IP update 3 but the error in lab3 still remains.

Offline

 

#6 2010-Feb-28 14:21:36

sgupta
Administrator
Registered: 2007-Feb-26
Posts: 104

Re: Lab 1 and 3

Here is an older post on this problem http://warp.rice.edu/forums/viewtopic.php?id=470. It could be tools installation or the model maybe be broken. One quick thing to try is open a new model, copy all the blocks from the broken model into the new one and run that. Also check that sysgen is associated with the version of MATLAB you are using (if you have multiple versions installed).

Offline

 

Board footer