cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
parikshit001
Visitor
Visitor
1,844 Views
Registered: ‎01-21-2020

problem on opening Model Composer

I have installed Matlab 2019b & after that Vitis 2019 but while double-clicking the Model Composer shortcut created in the desktop I am not able to get any response. This is happening in both Windows 10 & Ubuntu Operating System. Kindly guide me to resolve it out.

0 Kudos
14 Replies
meherp
Moderator
Moderator
1,767 Views
Registered: ‎08-16-2018

HI @parikshit001 

Are you using windows 64-bit version. The 32-bit version is not a supported version. 

 

What is the Ubuntu version. Below are the supported versions, 

Ubuntu Linux 16.04.5 LTS; 16.04.6 LTS; 18.04.1 LTS; 18.04.02 LTS (64-bit). 

 

In windows, can you try to delete the entry of "Matlab and Vivado" in the Task manager; and then run it again.  

 

 


/ 7\7     Meher Krishna Patel, PhD
\ \        Senior Product Application Engineer, Xilinx
/ /        
\_\/\7   It is not so much that you are within the cosmos as that the cosmos is within you...
0 Kudos
ravidapu
Xilinx Employee
Xilinx Employee
1,701 Views
Registered: ‎12-14-2017

Hi

I installed Vitis 2019.2 and MATLAB 2019b on Windows 10 and I am able to launch Model composer successfully.

There could be some problem with your installations, please clean up the directories and try re-installing the tools and check

Just launch MATLAB tool and see, if it launches then model composer should also be launched

Regards,,

Raju A. 

0 Kudos
parikshit001
Visitor
Visitor
1,691 Views
Registered: ‎01-21-2020

yes i checked with windows 64bit & ubuntu 18.04 version with 2-3 times of fresh installation but the model composer shortcut link doesn't came with opening a window.

0 Kudos
meherp
Moderator
Moderator
1,674 Views
Registered: ‎08-16-2018

Hi @parikshit001 
Are you able to launch the Matlab and Vivado on your system?


/ 7\7     Meher Krishna Patel, PhD
\ \        Senior Product Application Engineer, Xilinx
/ /        
\_\/\7   It is not so much that you are within the cosmos as that the cosmos is within you...
Tags (1)
0 Kudos
parikshit001
Visitor
Visitor
1,646 Views
Registered: ‎01-21-2020

yes. separately matlab & vivado-vitis are all working fine.

0 Kudos
meherp
Moderator
Moderator
1,634 Views
Registered: ‎08-16-2018

Can you try to run the 'model_composer.bat' file by double-clicking it. 

It is available at below location (please replace C:\Xilinx\ with your installation location). 

                C:\Xilinx\Model_Composer\2019.2\bin\model_composer.bat


/ 7\7     Meher Krishna Patel, PhD
\ \        Senior Product Application Engineer, Xilinx
/ /        
\_\/\7   It is not so much that you are within the cosmos as that the cosmos is within you...
Tags (1)
0 Kudos
parikshit001
Visitor
Visitor
1,628 Views
Registered: ‎01-21-2020

i'm facing the same technical error

0 Kudos
ravidapu
Xilinx Employee
Xilinx Employee
1,571 Views
Registered: ‎12-14-2017

Hi,

Can you try launching the model composer from command line as admin ?

firstly try launching mode composer as below:

c:\Xilinx\Model_Composer\2019.2\bin>model_composer.bat

if it does not work, try below with -vivado switch

c:\Xilinx\Model_Composer\2019.2\bin>model_composer.bat -vivado c:\Xilinx\Vivado\2019.2

Please send us the info, warnings, errors that you see in both the cases

Regards,

Raju A.

0 Kudos
1,267 Views
Registered: ‎02-20-2020

I am facing the same problem.
I tried above process and it says this:

"ERROR: Could not find MATLAB executable in the path. Please add the path to a MATLAB executable to the PATH environment variable and try launching Model Composer again."
'""' is not recognized as an internal or external command,
operable program or batch file.

 

So I added my Matlab Executable file (.exe) file address into Path variable but it still shows the same error..

 

Can some help here

Capture.JPG
Capture1.JPG
0 Kudos
a_r_k
Visitor
Visitor
669 Views
Registered: ‎02-04-2020

Hi,

I am facing a similar problem. I have Vivado 2020.2 and Vitis 2020.2 installed along with the model composer. On clicking the model composer it does nothing.

I have tried the following commands using the terminal to open the model composer,

D:\Vivado2020\Xilinx\Model_Composer\2020.2\bin\.\xmc_sysgen.bat

Output

WARNING: Could not find a Vitis installation on path parallel to Model Composer.
Please specify the location of a vitis installation with -vitis option.
ERROR: Could not find a relative Vitis_HLS in 'D:/Vitis_HLS2020/Xilinx/Vitis_HLS/2020.2'.

So I specified the vitis location using the following command,

D:\Vivado2020\Xilinx\Model_Composer\2020.2\bin\.\xmc_sysgen.bat -vitis D:\Vivado2020\Xilinx\Vitis_HLS\2020.2

Output

ERROR: Invalid -vitis path 'D:\Vivado2020\Xilinx\Vitis_HLS\2020.2\'.

It is now showing invalid vitis path. Please help!

 

0 Kudos
torid
Xilinx Employee
Xilinx Employee
658 Views
Registered: ‎08-01-2007

The path should point to the directory that the executable is, not the executable itself. Can you try to use D:\Softwares\Matlab2019a\bin\ instead of that path with the matlab.exe?

0 Kudos
torid
Xilinx Employee
Xilinx Employee
657 Views
Registered: ‎08-01-2007

It looks like you're pointing to the Vitis_HLS directory, not the Vitis directory. Can you update it to point to Vitis?

0 Kudos
a_r_k
Visitor
Visitor
636 Views
Registered: ‎02-04-2020

I have Matlab version 2020a and 2020b, both of them are perfectly working.

I couldn't find any vitis directory in the installation files.

I tried with these paths,

D:\Vivado2020\Xilinx\Model_Composer\2020.2\bin>xmc_sysgen.bat -vitis D:\Vivado2020\Xilinx\Vitis_HLS\2020.2

D:\Vivado2020\Xilinx\Model_Composer\2020.2\bin>xmc_sysgen.bat -vitis D:\Vivado2020\Xilinx\Vitis_HLS\2020.2\bin

but still showing invalid vitis path.

0 Kudos
torid
Xilinx Employee
Xilinx Employee
624 Views
Registered: ‎08-01-2007

Hi @a_r_k , If there's not a Vitis directory, you may have chosen the wrong options during your Xilinx install. This is my 2020.2 install area, and there is a Vitis directory. If you don't have the Vitis directory, you are missing pieces that are needed for Model Composer. 

 

torid_0-1620922781140.png

 

0 Kudos