WAVE-RT developed models may be incorporated into Simulink. As part of the SimWB code generation and build process, a scan for WAVE-RT components is made. When found, various files required for compilation on the SimWB target machine will be copied into the model source directory and then tranerred along with the model-derived source code to the SimWB host. No user intervention is required. In the following discussion Linux file/directory references are followed by their Windows counterparts in square brackets, i.e. /tmp [C:\tmp].
Compiling WAVE-RT model rs-python3.bat -V 2024.1 -m rcc -t WAVERT_MODEL --platform WIN64 "C:\Users\parag.joshi\Documents\realis\tut_wrt_rt.c" -o "C:\Users\parag.joshi\Documents\realis\tut_wrt_rt.dll" * rcc version 2024.1, Thursday 23. May 2024 03:03PM on FL-PARAGJ * C compiler GCC (WIN64) for task WAVERT_MODEL * Using Realis Simulation libraries from version 2023.2 * gcc -DUSRDLL -DWIN32 -DWIN64 -c -m64 -fPIC -O2 "-IC:\Program Files\RealisSimulation\2023.2\Products\WAVE\RT\include" "-IC:\Program Files\RealisSimulation\2023.2\Common\LIBRARIES\include" -DWAVERTMODEL_DLL -o tut_wrt_rt.obj C:\Users\parag.joshi\Documents\customerSupport\realis\tut_wrt_rt.c * gcc tut_wrt_rt.obj -o C:\Users\parag.joshi\Documents\realis\tut_wrt_rt.dll -shared -m64 "-LC:\Program Files\RealisSimulation\2023.2\Common\LIBRARIES\lib\win64" * Compilation of C:\Users\parag.joshi\Documents\realis\tut_wrt_rt.dll is finished
The libraries used when running a WAVE-based simulation may have been compiled for the executing platform using different compilers (e.g. Windows vs. Linux) or even different version of the same compiler (e.g. gcc 4.8.2 vs. 4.3.4). This can lead to slightly different results for the same simulation when run in different ways (e.g. Simulink on your PC vs. within SimWB on Linux). Be aware of this when comparing results. The differences will be small, but noticeable.
![]() |
User Programs... | Launch MATLAB |
![]() |