Effacer les filtres
Effacer les filtres

Trying to enable "Import custom code" option and the box is greyed out and will not let me enable.

5 vues (au cours des 30 derniers jours)
I am trying to run a simulink multibody system that uses a time based function as input for the position of a revolute joint. I am using the clock function and the Matlab function block. It gives me the error below, but when I follow the link and try to change the setting the box is greyed out and I cannot enable "Import Custom Code".
C Caller block 'RightArm90ByPositionInputUserDefinedFunctionAddedRE/Right Elbow Joint/User-Defined Functions/C Caller' requires model to have associated importable custom code. There is no custom code specified, or 'Import custom code' is disabled.
Suggested Actions
You may add custom code dependency to model 'simulink'Open
Enable 'Import custom code' for model 'simulink'
  1 commentaire
David Balbuena
David Balbuena le 1 Déc 2022
Hi Dieter,
Can you attach your model? Or at least provide a copy of the configuration set you are using?
-David

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by