No questions yet
1340 visits
Outline:* Loading the code file for a simple simulation using Ramp Input block * Using TOWS_c block to save values in the workspace * Using WRITEC_f block to save simulation data to a C binary file * Using CSCOPE block to plot the values on a graph * Using EXPRESSION block in writing the conditional expression * Using AFFICH_m block to display the output of the EXPRESSION block * Using IFTHEL_f block to introduce an IF-ELSE condition * Using HALT_f block to halt the simulation after a condition is reached * Test the Xcos file.
* Loading the code file for a simple simulation using Ramp Input block * Using TOWS_c block to save values in the workspace * Using WRITEC_f block to save simulation data to a C binary file * Using CSCOPE block to plot the values on a graph * Using EXPRESSION block in writing the conditional expression * Using AFFICH_m block to display the output of the EXPRESSION block * Using IFTHEL_f block to introduce an IF-ELSE condition * Using HALT_f block to halt the simulation after a condition is reached * Test the Xcos file.
Show video info
Pre-requisite