Why the editor of the mask initialization code is disabled
7 ビュー (過去 30 日間)
古いコメントを表示
I am playing with a really simple masked subsystem, and I want to add some code to initiatize the masked block.
But, it seems that code editor is disabled, and I cannot add any code:
I would like to add some code within the function "initialization".
Is there something I have to do to enable it? Or am I missing something?
Note that I am working on Ubuntu 22.04.
Thanks for your help!
4 件のコメント
Daniel Francisco
2022 年 12 月 2 日
Hi, same problem here.
Furthermore, I sended my .slx file to my Windows PC (also running Matlab2022b) and I could write in the mask window. I don't know how to solve it.
回答 (2 件)
Lorenzo
2023 年 5 月 24 日
1 件のコメント
Silvio Traversaro
2023 年 5 月 24 日
To do so, at least on Ubuntu 22.04 you can go edit the /etc/gdm3/custom.conf and change the line:
#WaylandEnable=false
to
WaylandEnable=false
to verify that you are actually running x11, you can run:
cat $XDG_SESSION_TYPE
Bhavana Ravirala
2022 年 11 月 18 日
You are not required to enable anything to add code to the “initialization” function.
Also, Could you share the errors or warnings that you are getting when you try to add code to the “initialization” function.
4 件のコメント
Bhavana Ravirala
2023 年 2 月 24 日
Hi Lorenzo
Are you able to add code to the parameter callback? Is the rest of maskeditor working fine? Can you please provide more information regarding options which you can't access.
参考
カテゴリ
Help Center および File Exchange で Author Block Masks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!