Trouble with Vitis Model Composer 2023.2! MATLAB R2021b crashes when I want to open the Model Composer Hub component.

68 views (last 30 days)
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.

Answers (2)

Hassaan
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
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
  3 Comments
Hassaan
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.
Zeinab
Zeinab on 12 Feb 2024
I checked this link, https://www.xilinx.com/products/design-tools/vitis/vitis-model-composer.html and I faced with the sentence below:
  • MATLAB® tool version support​ : R2021a, R2021b Update 6, R2022a Update 6, R2022b
So it seems that the versions are compatible.
I think my issue is something beyond such a thing, in the Matlab Home tab I tried to check for updates, and again these errors came up!

Sign in to comment.


Kiran Kintali
Kiran Kintali on 12 Feb 2024
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.
  3 Comments
Zeinab
Zeinab on 13 Feb 2024
Edited: Zeinab on 13 Feb 2024
"If you tried to run MATLABWindow outside of MATLAB and got an error message this is a MATLAB tech support issue. "
And also about this part of your answer, I should say that yes, I got a sandbox error even outside of MATLAB when I try to run MATLABWindow.
Jacob Mazur
Jacob Mazur on 13 Feb 2024
Hi Zeinab,
I'm sorry to hear you're encountering this crash while using MATLAB. Please reach out to our Technical Support team and we would be happy to investigate this issue further.
You can contact support by emailing support@mathworks.com or by creating a new ticket here: https://www.mathworks.com/support/contact_us.html
If possible, please include the following details in your email:
  • Any specific error messages you are seeing.
  • The complete crash log file.
  • The exact steps you are following prior to the crash.
  • The output of executing the following command in MATLAB: >> ver -support
Thanks,
Jacob

Sign in to comment.

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!