MATLAB error “MFile S-functions without a corresponding TLC file are not supported.”
Show older comments
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 Comments
Walter Roberson
on 20 May 2023
Walter Roberson
on 20 May 2023
I have written a large number of matrix multiplication in M language
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!