- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
Trouble with Vitis Model Composer 2023.2! MATLAB R2021b crashes when I want to open the Model Composer Hub component.
141 views (last 30 days)
Show older comments
Hi everyone, I hope to find you all in a good mood.
I'm a fresh Ubuntu and AMD Vitis user! My OS is Ubuntu 22.04.3 LTS, and my system graphic card is Mesa Intel® UHD Graphics 630 (CFL GT2). Recently I installed AMD Vitis 2023.2 and Matlab R2021b, and I've also checked about the version compatibility, It seems that they are compatible.
I checked this GitHub repository: https://github.com/Xilinx/Vitis_Model_Composer/tree/2023.2/Tutorials/HDL_Library. and I just wanted to get started with the model composer, once it was set up, it got stuck in the HDL code-generating step. So I was forced to close the Matlab window. after that every time I tried to open the Model Composer Hub settings window I encountered this error: Dot indexing is not supported for variables of this type. and in the Matlab command window, the thread of errors comes up like this:
MathWorks::System::IUserException in WebControllerFactory::create(): [Error using matlab.internal.cef.webwindow (line 396)
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application. The exit code was: 127
Error in matlab.internal.webwindow/createImplementation (line 313)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 161)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/createView (line 65)
this.CEF = matlab.internal.webwindow(peerModelInfo.URL, peerModelInfo.DebugPort, position);
Error in matlab.ui.internal.controller.FigureController/createView (line 451)
this.PlatformHost.createView(this.PeerModelInfo, pos, title, visible, resizable, windowState, windowStyle);
Error in matlab.ui.internal.componentframework.WebComponentController/add (line 78)
obj.createView( parentController, parentView, pvPairs );
Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 43)
add@matlab.ui.internal.componentframework.WebContainerController( this, webComponent, parentController );
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 94)
component.createController( parentController, [] );
Error in vmcHub/createProgressBar
Error in vmcHub/createComponents
Error in vmcHub
Error in vmcHubCallback]
as you can see in the attached picture:
According to my research in different forums, I tried to launch MATLABWindow from this directory ~/MATLAB/R2021b/bin/glnxa64 this error came up: [0212/032751.828388:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
as you can see in this picture:
Now I just wanna ask if is there anyone who can help me.
Thanks for your attention.
0 Comments
Answers (3)
Hassaan
on 12 Feb 2024
Edited: Hassaan
on 12 Feb 2024
@Zeinab Please see this compatability link:
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
Feel free to contact me.
3 Comments
Hassaan
on 12 Feb 2024
Edited: Hassaan
on 12 Feb 2024
@Zeinab As per this link Table Vitis 2023.2 Model composer is not officaly supported with MATLAB r2021 try using 2023.1 or below:
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
Feel free to contact me.
Kiran Kintali
on 12 Feb 2024
This might be related to a known MATLAB issue: https://www.mathworks.com/matlabcentral/answers/364551-why-is-matlab-unable-to-run-the-matlabwindow-application-on-linux
If you tried to run MATLABWindow outside of MATLAB and got an error message this is a MATLAB tech support issue.
However if you can successfully run MATLABWindow in MATLAB but still get errors in Model Composer, then it's a Model Composer issue that needs to be taken to AMD/Xilinx tech support team.
4 Comments
Alejandro Martin
on 13 Nov 2024 at 7:23
Hi Zeinab,
The problem is compatibility from libraries, becuase Model_Composer adds the library path of Vivado
/tools/Xilinx/Vivado/2023.2/lib/lnx64.o
to the LD_LIBRARY_PATH dinamically.
Seems to be a problem of MATLABWindow application with the distribution of Vivado/Model_Composer 2023.2.
The fact is that Vivado 2023.2 comes from October 2023 and MATLAB R2022b Update 10 from September 2024. So the problem is from MATLABWindow incompatible with Vivado 2023.2
If you change the LD_LIBRARY_PATH manually from the MATLAB command Window removing the path from Vivado libraris, it works for a shoot. By it restores the path dinamically again.
I think is a library compatibility problem between MATLABWindow (2024) and Vivado 2023.2 (2023) or even 2023.2.2. It shoul be solved by MATHWORKS.
Alex
Alejandro Martin
on 13 Nov 2024 at 7:23
A popo, this table and comments should be more specific and modified:
Because it is FALSE, by now, that MATLAB R2022b (any Update) is compatible with Vitis Model Composer 2023.X.Y (Any version or update from Vivado 2023). At least under Linux.
Alejandro Martin
on 4 Oct 2024
Hello,
Did you find the solution for this crash problem?
I have exactly the same problem in my working environment.
Best Regards,
Alex
4 Comments
Alejandro Martin
on 13 Nov 2024 at 7:25
Problem of MATLAB libraries compatibility.
MATLAB distribution is newer as Vitis Model Composer, no backward compatibility.
MATHWORKS is responsible.
Kiran Kintali
on 27 Nov 2024 at 17:30
Hi Alejandro,
just wanted to clarify; the compatibility note of System Generator and Vitis Model Composer with MATLAB is determined by Xilinx/AMD.
AMD teams builds and tests their products on top of MathWorks released products, and are therefore responsible for the version compatibility. AMD VMC/XSG releases are usually couple of releases behind as they catchup to MathWorks A//B software yearly releases.
HDL Coder uses native blocks in Simulink https://www.mathworks.com/products/hdl-coder.html and the generated code can directly integrate with latest Vivado and deployed on all AMD boards. Perhaps this could be an alternative for staying upto speed with latest releases of MathWorks.
Sorry for not being much of help here.
Thanks
See Also
Categories
Find more on System Composer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!