AR# 16261

|

2.3 System Generator for DSP - Can multiple versions of System Generator be installed within Matlab?

描述

General Description:

Can multiple versions of System Generator be installed within a Matlab environment? (This would allow old projects to be complied while also allowing a new project to be updated.) If so, how can I easily switch between the versions?

解决方案

Yes, multiple versions of System Generator may be installed within a Matlab environment The following steps describe how to install and change between several versions of SysGen:

1. Change the directory for the old software version so that it is not overwritten.

For example:

Change

$MATLAB/toolbox/xilinx

to

$MATLAB/toolbox/xilinx2_2.

where $MATLAB is the directory in which the Matlab software is installed.

2. Install the new software using the installation notes supplied For example, the new software can be installed in:

$MATLAB/toolbox/xilinx

3. On the Matlab command line, type:

>> xlversion

You will see the following message:

"Available System Generator installations:

Version 2.3 in C:/MATLAB6p1/toolbox/xilinx/sysgen

Current version of System Generator is 2.3."

4. Using Windows Explorer (or its equivalent), navigate to:

C:\MATLAB6p1\toolbox\xilinx2_2\sysgen\util and open instlist.txt.

(We suggest you make a copy of this in case mistakes occur.)

You will see:

2.3 C:/MATLAB6p1/toolbox/xilinx/sysgen.

Change this so that it reads:

2.3 C:/MATLAB6p1/toolbox/xilinx/sysgen.

2.2 C:/MATLAB6p1/toolbox/xilinx2_2/sysgen.

Save and close the file.

5. On the Matlab command line, type:

>> xlversion

You will see the following message:

"Available System Generator installations:

Version 2.3 in C:/MATLAB6p1/toolbox/xilinx/sysgen

Version 2.2 in C:/MATLAB6p1/toolbox/xilinx2_2/sysgen

Current version of System Generator is 2.3."

6. Change the version by typing:

>> xlversion 2.2

ans =

1

If you then type:

>> xlversion

You will see that the current version is now 2.2

7. To go back to System Generator 2.3, type:

>> xlversion 2.3

Then, restart Matlab and run it again.

ans =

0

8. Open Matlab and type:

>> xlversion 2.3

ans =

1

9. To confirm the version of System Generator:

- Select "View" in the Matlab window.

- Select "Launch Pad."

- Select Xilinx System Generator -> Basic Elements.

The System Generator version will appear in the title.

AR# 16261
日期 12/15/2012
状态 Active
Type 综合文章
People Also Viewed