I generated an fmu from an Matlab simulink model(.mdl). The fmu was generated but the fmu doesn't contains any parameters file related to s function.
And I get an warning during FMU generation
" FMU block 'FMIKITImport/FMU1' detects that some model variables are using zero-based indexing in modelDescription.xml,"
When I run the model in simulink
Debug Logging enabled for block 'FMIKITImport/FMU1'
Log from FMU: [category:, status:fmi2OK] Setting DLL directory for MATLAB dependencies: C:\Program Files\MATLAB\R2022b
\bin\win64
Log from FMU: [category:, status:fmi2OK] The environment variable SFCN_FMI_MATLAB_BIN can be used to override this path.
Log from FMU: [category:, status:fmi2Fatal] Error in S-function (mdlInitializeSizes): Name for parameter file should be a character
string
In this "mdlInitializesizes" function , it passed '0' parameter to an S function. actually we have an two parameter file for sfunction.
How can I include the parameter file during fmu generation.
I generated an fmu from an Matlab simulink model(.mdl). The fmu was generated but the fmu doesn't contains any parameters file related to s function.
And I get an warning during FMU generation
When I run the model in simulink
Debug Logging enabled for block 'FMIKITImport/FMU1'
Log from FMU: [category:, status:fmi2OK] Setting DLL directory for MATLAB dependencies: C:\Program Files\MATLAB\R2022b
\bin\win64 Log from FMU: [category:, status:fmi2OK] The environment variable SFCN_FMI_MATLAB_BIN can be used to override this path. Log from FMU: [category:, status:fmi2Fatal] Error in S-function (mdlInitializeSizes): Name for parameter file should be a character string
In this "mdlInitializesizes" function , it passed '0' parameter to an S function. actually we have an two parameter file for sfunction. How can I include the parameter file during fmu generation.