Clear Filters
Clear Filters

How do I build an ADA S-Function in a 64 bit MATLAB?

1 view (last 30 days)
I would like to build a S-Function from ADA source code in a 64-bit MATLAB. I saw this MATLAB Answers post but it seems to be referring to 32 bit MATLAB:
How can I build an Ada S-Function for 64-bit MATLAB?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 May 2024
Edited: MathWorks Support Team on 17 May 2024
Simulink does not directly support Ada S-Functions. However, it is possible to write a C-MEX S-Function that references an Ada DLL. For more details and some examples of how this can be done, please see the attached ZIP-file.
To use the attached examples with 64-bit MATLAB, you will need a 64-bit Ada compiler. To download a GNAT Ada compiler, you can use the following link to find a suitable version:

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!