Info

This question is closed. Reopen it to edit or answer.

How do I force Legacy Code Tool to generate RTW-compatible code.

1 view (last 30 days)
Hi all,
I am trying to create a standalone executable using an S-function with bus inputs and I get errors like this:
Initialize_sfun.c(1261) : error C2065: 'ssGetDataTypeAccess_cannot_be_used_in_RTW' : undeclared identifier
How do I force LCT to preclude use of ssGetDataTypeAccess() and other such functions. MATLAB docs say these cannot be used but say nothing about how to make LCT not use them. The S-function does currently take bus object, which may be related.
Thanks, Jason

Answers (0)

Community Treasure Hunt

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

Start Hunting!