MATLAB error “MFile S-functions without a corresponding TLC file are not supported.”
Afficher commentaires plus anciens
I have written a large number of matrix multiplication in M language. Then, the m file was called using the S-Function module in simulink. Then prepare to compile the Simulink program into an industrial computer. An error occurred during MATLAB compilation, 'MFile S-functions without a corresponding TLC file are not supported.'
May I ask how to solve this problem?
I have an idea that if S-Function is used in Simulink to call C files, there will be no errors during compilation. However, how to use C language to write operations on a large number of matrices?
For example, the transposed product B of matrix A can be written in file m
A=[0,0,0;0,0,-1;0,1,0]; B=[0,0,0;0,0,2;0,4,0]; A'*B
How should I write it in the C file? (Note that I need to implement a lot of matrix operations)
2 commentaires
Walter Roberson
le 20 Mai 2023
Walter Roberson
le 20 Mai 2023
I have written a large number of matrix multiplication in M language
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!