I have included an third party S Function in my model. From this model I need to generate source code and then integrate the source code within another application in another tool chain (Xilinx SDK IDE).
The code generation for the model with the sfunction completes with out error.
In the directory where the code has auto generated I run the following commands:
load('buildInfo.mat')
packNGo(buildInfo)
As far as I have understood the documentation this generates a Zip containing a flat file structure of all the files required to build the model externally.
I have copied the files into the other development environment and called the base model the same as I have in the past.
Now when I compile I get the following errors:
Description Resource Path Location Type
#error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE simstruc.h /Stage10_RTOS_Code/src/Application line 363 C/C++ Problem
I also recieve this error in multiword_types.h because the types are not recognised.
/*
* Definitions supporting external data access
*/
typedef int64_T chunk_T;
typedef uint64_T uchunk_T;
How do I put in custom types.