Blog - Forwardsim

Home » Blog

Simulink Coder support

Simulink Coder support (RealTime WorkShop) The HLA Blockset developer license is compatible with Simulink Coder providing speed improvement and deployment capability to HLA federates developed with Simulink. Two code generation modes are available: HLA Blockset developer : generates C++ Code with dependencies on ForwardSim’s libraries HLA Blockset coder : generates full HLA-Compliant code without any dependencies on ForwardSim’s libraries. In both cases, the generated code is royalty free and can be run on any computer where the RTI binaries are available. The process to convert your ... Read more

April’s Tip

Handling strings in Simulink Simulink has not been design to work with strings but there is a lot of situation where strings are useful, particularly within an HLA federation.  The HLA Blockset provides three blocks to handle strings: HLAString:                        Used to create a string HLAStringCompare:     Returns 1 if the values are the same HLAStringDisplay:         Display a string The later, the HLAStringDisplay is a wonderful debugging tool because it can ... Read more

hlaDeploy

The HLA Toolbox provides a licensing option to export HLA federates developed in MATLAB into standalone executable applications using the MATLAB Compiler. This deployment feature provides a way to run the full federate without MATLAB license. The compiled federate is royalty free, has no restriction and will run on any computer. To compile your federate, just run the “hlaDeploy” command on the main file (entry point of your MATLAB code). >> hlaDeploy  mainHelloWorld.m Building your model for deployment ... Once your model has been built, ... Read more

Supporting education (SEE)

April is SEE time. The Simulation Exploration Experience (SEE) organized by NASA has been supported by ForwardSim from its humble start in 2009. SEE is a distributed simulation challenge. Geographically distributed inter-university teams work in conjunction with one another to design, develop, test, and execute a simulated lunar mission. As an active partner, ForwardSim provides free software licences augmented with technical and engineering support to SEE participants. Once again this year, teams are using ForwardSim products in order to be more efficient at ... Read more

Using Simulink time in timeAdvanceRequest

Using Simulink time with timeAdvanceRequest The HLA Blockset manage the federate simulation time through the "Initialize" block whenever you have a time managed federate. It is important to specify that there will be no time management for your federate unless you make it Time Regulating and/or Time Constrained. The user interface for the "Initialize" block provides a way to specify the federate Time Step in the Time Management section. Regardless of the Simulink time, your federate will use this value by default (in this ... Read more

January 2015 Newsletter

Read ForwardSim January newsletter Read more

HLA Toolbox speed optimization

HLA Toolbox speed optimization MATLAB is a powerful environment allowing users to control almost every aspect of code execution. This flexibility sometimes come at the expense of execution speed. In a distributed simulation environment, the need to process callbacks with a high incoming rate is common and it's achievable using the HLA Toolbox. The HLA Toolbox receive the callbacks from the RTI in a string format that needs to be executed by feval(). The result is a fluid experience and an easy access to debugging information. This ... Read more

10 years of Modeling & Simulation

10 years of Modeling & Simulation Back in January 2005, ForwardSim was created by a few talented professional dreaming of product and services so efficient that they will revolutionize the decision making process and simplify simulation implementation. With a clear vision to bring simulation technology in unfamiliar application area to better support decision making ForwardSim started its activities with consulting services contracts and continuously invested in the development of innovative technology enabling access to the power of distributed simulation. With a strong focus ... Read more