Implementation of functions not supported by Mathworks
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kunihide Hirai
le 13 Sep 2019
Commenté : Kunihide Hirai
le 13 Sep 2019
You are trying to implement a feature not supported by Mathworks on the TI C2000 TMS320F28379D processor.
The build itself has finished normally, but parameters cannot be set for some registers.
What settings should I add later to set parameters in the TI C2000 TMS320F28379D processor registry?
The configuration file custom code has the following settings and the necessary files are inserted.
In the Simulink model, the header is set to Modek Header and the header file declaration is included.
Registry setting is done using Model Copy block instead of S-function block.
The example of insertion is implemented as follows.
The generated C code is as follows.
The files generated in the ERT folder are as follows.
0 commentaires
Réponse acceptée
Venkatesh Chilapur
le 13 Sep 2019
Hi,
Please refer the below post for the SDFM settings needed to enable the same.
From the post, User got it working after enabling the module clock.
You can use custom code blocks from simulink coder to add initialization code.
HTH,
Regards,
Venkatesh C
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!