what is the Error using setextrainfocheckboxcmd extrainfocheckboxcmd should be non-empty ?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello! I‘m a postgraduate student in a master program from Tongji university, Shanghai, China and recently using TRURTIME 2.0 to build a networked control model in Simulink environment.
The control plant is selected as a linear motor, i.e., I plan to research the linear motor control in NCS. Perhaps more linear motors will be added in this model in the future.
However there are some warnnings and errors occur when the model runs in Simulink:
Error using setextrainfocheckboxcmd extrainfocheckboxcmd should be non-empty! (Shows In Fig. 1, some words displayed in Chinese and I try to translate them)

Meanwhile there some erros occur in the TrueTime Kernel as shown in Fig. 2, i.e., Duplicate GoTo blocks with same tag, which wasn’t supposed to occur since the the GoTo/From Tags are configured automatically with the initiation of Kernel. I don't know if there is a connection between the two problems.

I try to solve the problem but I didn't. Later I asked for help with Google but no difference was made for it. It is appreciated if you provide solution to the problem or some advices to help solve it.
Best regards.
0 commentaires
Réponses (1)
TED MOSBY
le 13 Août 2025 à 16:24
Modifié(e) : TED MOSBY
le 13 Août 2025 à 16:25
Hi Siming,
The warning is being thrown by the Support Package UI layer when an add-on’s support_package_registry.xml contains an empty extrainfocheckboxcmd field. You can try reinstalling the add-on or clearing the support-package cache. Then try the following commands:
restoredefaultpath; rehash toolboxcache
savepath
Open Add-On Manager and reinstall any 3rd-party support packages you added around TrueTime/EtherCAT.
For the error related to the GoTo blocks, it is being caused due to the duplicate GoTo blocks with same tag. When a kernel is reconfigured/copied, old Goto blocks can remain and you end up with more than one Goto having the same tag in the same visibility scope. Ensure exactly one Goto block exists for each tag (e.g., only one rcv1_1, one rcv1_2, etc.). Delete any duplicates. Then update the model.
If you still hit the error, delete the affected Kernel block and drag in a fresh TrueTime, then re-enter its parameters - this forces TrueTime to regenerate its internal Goto/From network cleanly.
Hope this helps!
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!