Artifact 484e8ce3d67496a6250cbc04cee957e3e65f38687333614bf7d50a2d140791e0:
- File mtt/lib/rep/sfun_rep/sfun_debug.h — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 647) [annotate] [blame] [check-ins using] [more...]
- File
mttroot/mtt/lib/rep/sfun_rep/sfun_debug.h
— part of check-in
[f281078eb6]
at
2002-05-21 11:46:31
on branch origin/master
— MTT input block "sys_sfun_input.mexglx" created to provide inputs from MTT input file to plant model within Simulink.
The command "mtt sys sfun zip" now also creates a simple sys.mdl file which connects the input block to the plant block correctly. (user: geraint@users.sourceforge.net, size: 647) [annotate] [blame] [check-ins using]
#ifndef HAVE_SFUN_DEBUG_H #define HAVE_SFUN_DEBUG_H #if defined DEBUG && defined __GNUC__ #include <stdio.h> #define PRINT_ENTER fprintf (stderr, "debug> Entered '%s'\n", __FUNCTION__); #define PRINT_LEAVE fprintf (stderr, "debug> Leaving '%s'\n", __FUNCTION__); #elif defined DEBUG && ! defined __GNUC__ #include <stdio.h> #define PRINT_ENTER fprintf (stderr, "debug> Entered a function\n"); #define PRINT_LEAVE fprintf (stderr, "debug> Leaving a function\n"); #elif ! defined DEBUG #define PRINT_ENTER #define PRINT_LEAVE #else #error "Momentary lapse of logic : unreachable statement reached" #endif #endif /* HAVE_SFUN_DEBUG_H */