13 #define S_FUNCTION_NAME sfunParameters 18 PAR1, PAR2, PAR3, PAR4, PAR5, PAR6
37 printf(
"Starting the s-function for parameters testing....\n");
49 printf(
"parameter %i = %f\n", PAR1, par1);
53 printf(
"parameter %i = %s\n", PAR5, par5.c_str());
54 printf(
"parameter %i = %s\n", PAR6, par6.c_str());
59 printf(
"Terminating the s-function for parameters testing.\n");
66 #include "sfunDefinitions.h"
static void assertParameterPort(int port, bool tunable, int nRows, int nCols, mxClassID type=mxDOUBLE_CLASS, mxComplexity complexFlag=mxREAL)
static void checkParametersSizes()
static time_T getSimulationTime()
static std::string getParameterString(int port)
static double getParameterDouble(int port)
static void assertParameterPortsCount(int portsCount)