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

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)

This question is closed.

Asked:

J
J
on 13 Jun 2014

Closed:

on 6 Feb 2023

Community Treasure Hunt

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

Start Hunting!