saving . . . saved Problem printing a graph on a GUI using scilab 6.0.2 for windows has been deleted. Problem printing a graph on a GUI using scilab 6.0.2 for windows has been hidden .
Problem printing a graph on a GUI using scilab 6.0.2 for windows
Title
Question
Hi all, how are you?.

I'm making an GUI in scilab to print and update the graph of a second order system with scilab, this GUI has a fram to input the coefficients of the system and a button to calculate and display the system, the problem is that right now the code written in the .sce file is giving me an error or running partially because it says that the function used to print the response of the system is not defined, that function is "Sis_Motor(...)" .

The code is the following:

<pre style="font-family: Monospaced; font-size: 12px; line-height: 1.42857;"><span style="color: rgb(100, 174, 100); font-style: italic;">// Parámetros globales de ventana</span> <span style="color: rgb(50, 185, 185);">global</span> <span style="color: rgb(188, 143, 143);">margin_x</span> <span style="color: rgb(188, 143, 143);">margin_y</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(50, 185, 185);">global</span> <span style="color: rgb(188, 143, 143);">frame_w</span> <span style="color: rgb(188, 143, 143);">frame_h</span> <span style="color: rgb(188, 143, 143);">plot_w</span> <span style="color: rgb(188, 143, 143);">plot_h</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Inicialización de parámetros de ventana</span> <span style="color: rgb(0, 0, 0);">frame_w</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">300</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">frame_h</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">500</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Altura y anchura del marco.</span> <span style="color: rgb(0, 0, 0);">plot_w</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">600</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">plot_h</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">frame_h</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Altura y anchura de la impresión.</span> <span style="color: rgb(0, 0, 0);">margin_x</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">15</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">margin_y</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">15</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Margen horizontal y vertical para</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//elementos.</span> <span style="color: rgb(0, 0, 0);">defaultfont</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">arial</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Fuente por defecto.</span> <span style="color: rgb(0, 0, 0);">axes_w</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(0, 0, 0);">margin_x</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">frame_w</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">plot_w</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Anchura de los ejes.</span> <span style="color: rgb(0, 0, 0);">axes_h</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(0, 0, 0);">margin_y</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">frame_h</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Altura de los ejes (100 =</span><span style="color: rgb(100, 174, 100); font-style: italic;">></span><span style="color: rgb(100, 174, 100); font-style: italic;"> Altura de la</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//barra de herramientas).</span> <span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">scf</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">10</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Crea una ventana con id=10 y la hace la</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//ventana corriente.</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Color de fondo y texto</span> <span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(92, 92, 92);">.</span><span style="color: rgb(170, 170, 170);">background</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(92, 92, 92);">.</span><span style="color: rgb(170, 170, 170);">figure_position</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">100</span> <span style="color: rgb(188, 143, 143);">100</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(92, 92, 92);">.</span><span style="color: rgb(170, 170, 170);">figure_name</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">gettext</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Comportamiento del motor</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Cambio de dimensiones de la figura</span> <span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(92, 92, 92);">.</span><span style="color: rgb(170, 170, 170);">axes_size</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">axes_w</span> <span style="color: rgb(0, 0, 0);">axes_h</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Nuevo menú</span> <span style="color: rgb(0, 0, 0);">h2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uimenu</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">label</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(50, 185, 185);">gettext</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Acerca de</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Agregando submenús al nuevo menú</span> <span style="color: rgb(50, 185, 185);">uimenu</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">h2</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">label</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(50, 185, 185);">gettext</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Acerca de</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">callback</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Motor_Acerca_De();</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Creación del marco</span> <span style="color: rgb(0, 0, 0);">mi_marco</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">relief</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">groove</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">frame</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">units</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">pixels</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span> <span style="color: rgb(0, 0, 0);">margin_x</span> <span style="color: rgb(0, 0, 0);">margin_y</span> <span style="color: rgb(0, 0, 0);">frame_w</span> <span style="color: rgb(0, 0, 0);">frame_h</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">center</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">tag</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">frame_control</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Título del marco</span> <span style="color: rgb(0, 0, 0);">titulo_mi_marco</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">text</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">string</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Parámetros del sistema</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">units</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">pixels</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">30</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">margin_x</span> <span style="color: rgb(0, 0, 0);">margin_y</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">frame_h</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(188, 143, 143);">10</span> <span style="color: rgb(0, 0, 0);">frame_w</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(188, 143, 143);">60</span> <span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontname</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">defaultfont</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontunits</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">points</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">16</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">center</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">tag</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">title_frame_control</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Adicionando parámetros del modelo</span> <span style="color: rgb(0, 0, 0);">guih1</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">frame_w</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">guih1o</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">200</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Lista de etiquetas ordenadas</span> <span style="color: rgb(0, 0, 0);">labels1</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">La [H]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Ra [Ohm]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">In [A]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Par [N*m]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Ke [V/krpm]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">j [N/m^2]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Lista ordenada de valores por defecto</span> <span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">0.00074</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">0.3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">8.7</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">0.48</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">3.9</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">0.0035</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Posicionamiento</span> <span style="color: rgb(0, 0, 0);">l1</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">30</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(0, 0, 0);">l2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">100</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(0, 0, 0);">l3</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">110</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(160, 32, 240);">for</span> <span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(255, 170, 0);">:</span><span style="color: rgb(50, 185, 185);">size</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">labels1</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">text</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">string</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">labels1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">l1</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">guih1</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">guih1o</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">l2</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">left</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">14</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">guientry</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">edit</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">string</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(50, 185, 185);">string</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">l3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">guih1</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">guih1o</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">180</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">left</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">14</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">tag</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">labels1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(160, 32, 240);">end</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Adicionando parámetros de simulación</span> <span style="color: rgb(0, 0, 0);">guih2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">240</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">guih2o</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">80</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">labels2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Tinicio [s]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Tfin [s]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Tpaso [s]</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">values2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">0</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">0.5</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">0.001</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">l1</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">40</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(0, 0, 0);">l2</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">100</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(0, 0, 0);">l3</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">110</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(160, 32, 240);">for</span> <span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(255, 170, 0);">:</span><span style="color: rgb(50, 185, 185);">size</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">labels2</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">text</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">string</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">labels2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">l1</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">guih2</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">guih2o</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">l2</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">left</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">14</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span> <span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">guientry2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">parent</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">edit</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">string</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">l3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">guih2</span><span style="color: rgb(92, 92, 92);">-</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(0, 0, 0);">guih2o</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">120</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">horizontalalignment</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">left</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">14</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">background</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">tag</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">labels2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">k</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(160, 32, 240);">end</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Adicionando un botón</span> <span style="color: rgb(0, 0, 0);">huibutton</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">uicontrol</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">sistem_graf</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">style</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">pushbutton</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">position</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">110</span> <span style="color: rgb(188, 143, 143);">100</span> <span style="color: rgb(188, 143, 143);">100</span> <span style="color: rgb(188, 143, 143);">20</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">String</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Graficar</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">BackgroundColor</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span> <span style="color: rgb(188, 143, 143);">.9</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">,</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">fontsize</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">14</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Callback</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Sistema</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Gráfico inicial</span> <pre style="font-family: Monospaced; font-size: 12px; line-height: 1.42857;"><span style="color: rgb(0, 0, 0);">Sis_Motor</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">4</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">5</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">6</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span></pre> <span style="color: rgb(100, 174, 100); font-style: italic;">//Redibujando ventana</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Cálculo del sistema</span> <span style="color: rgb(176, 24, 19);">function</span> <span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(131, 67, 16); font-weight: bold;">Wn</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">Zita</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">ftr</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">fta</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0); text-decoration-line: underline;">Sis_Motor</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(131, 67, 16); font-weight: bold;">in</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">par</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">la</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">ra</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">ke</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(0, 0, 0);">kt</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(131, 67, 16); font-weight: bold;">par</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(131, 67, 16); font-weight: bold;">in</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">n</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">kt</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">la</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">b</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(188, 143, 143);">10</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">d</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">b</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">ra</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(131, 67, 16); font-weight: bold;">ke</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(0, 0, 0);">kt</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">la</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">b</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">la</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">ra</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(131, 67, 16); font-weight: bold;">j</span><span style="color: rgb(92, 92, 92);">*</span><span style="color: rgb(131, 67, 16); font-weight: bold;">la</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">dpoly</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">poly</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">d</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(188, 143, 143);">s</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(188, 143, 143);">c</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">t</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(0, 0, 0);">values2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(255, 170, 0);">:</span><span style="color: rgb(0, 0, 0);">values2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(255, 170, 0);">:</span><span style="color: rgb(0, 0, 0);">values2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(131, 67, 16); font-weight: bold;">fta</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">syslin</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(188, 143, 143);">c</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">n</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">dpoly</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(131, 67, 16); font-weight: bold;">ftr</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(131, 67, 16); font-weight: bold;">fta</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(92, 92, 92);">+</span><span style="color: rgb(131, 67, 16); font-weight: bold;">fta</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(131, 67, 16); font-weight: bold;">Wn</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(131, 67, 16); font-weight: bold;">Zita</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">damp</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(131, 67, 16); font-weight: bold;">ftr</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">graf</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">csim</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(188, 143, 143);">step</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">t</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(131, 67, 16); font-weight: bold;">ftr</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(50, 185, 185);">delete</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">gca</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">plot2</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">t</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">graf</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">legend</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(188, 143, 143);">Respuesta al escalón</span><span style="color: rgb(188, 143, 143);">'</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Línea vertical.</span> <span style="color: rgb(50, 185, 185);">set</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">gca</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">auto_clear</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">off</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">graf_eje</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0);">gca</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(0, 0, 0);">graf_eje</span><span style="color: rgb(92, 92, 92);">.</span><span style="color: rgb(170, 170, 170);">axes_bounds</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(74, 85, 219);">[</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">0</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(92, 92, 92);">/</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">]</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(176, 24, 19);">endfunction</span> <span style="color: rgb(100, 174, 100); font-style: italic;">//Graficando la función</span> <span style="color: rgb(176, 24, 19);">function</span> <span style="color: rgb(0, 0, 0); text-decoration-line: underline;">Grafi</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// delete(gca());</span> <span style="color: rgb(0, 0, 0); text-decoration-line: underline;">Sis_Motor</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">alues1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">1</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">2</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">3</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">4</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 170, 0);">...</span> <span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">5</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);">values1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">6</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// plot2d(t,graf);</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// legend(</span><span style="color: rgb(100, 174, 100); font-style: italic;">'</span><span style="color: rgb(100, 174, 100); font-style: italic;">Respuesta al escalón</span><span style="color: rgb(100, 174, 100); font-style: italic;">'</span><span style="color: rgb(100, 174, 100); font-style: italic;">);</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// set(gca(),</span><span style="color: rgb(100, 174, 100); font-style: italic;">"</span><span style="color: rgb(100, 174, 100); font-style: italic;">auto_clear</span><span style="color: rgb(100, 174, 100); font-style: italic;">"</span><span style="color: rgb(100, 174, 100); font-style: italic;">,</span><span style="color: rgb(100, 174, 100); font-style: italic;">"</span><span style="color: rgb(100, 174, 100); font-style: italic;">off</span><span style="color: rgb(100, 174, 100); font-style: italic;">"</span><span style="color: rgb(100, 174, 100); font-style: italic;">);</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// graf_eje=gca();</span> <span style="color: rgb(100, 174, 100); font-style: italic;">// graf_eje.axes_bounds=[1/3,0,2/3,1];</span> <span style="color: rgb(176, 24, 19);">endfunction</span> <span style="color: rgb(176, 24, 19);">function</span> <span style="color: rgb(0, 0, 0); text-decoration-line: underline;">Motor_Acerca_De</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span> <span style="color: rgb(0, 0, 0);">msg</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(50, 185, 185);">msprintf</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(50, 185, 185);">gettext</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Aplicación desarrollada por el Ing. Valery Ramirez y basada en los instructivos del equipo de Openeering</span><span style="color: rgb(188, 143, 143);">.</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(50, 185, 185);">messagebox</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(0, 0, 0);">msg</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(50, 185, 185);">gettext</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Acerca de</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">info</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">modal</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(74, 85, 219);">)</span><span style="color: rgb(0, 0, 0);">;</span> <span style="color: rgb(176, 24, 19);">endfunction</span></pre>

The line with the problem is the 83 after where it says "//Gráfico inicial", the function is called with "<span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">Sis_Motor</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">,</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">2</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">,</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">3</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">,</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">4</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">,</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(255, 170, 0);">...</span>
<span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">5</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">,</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">values1</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">(</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(188, 143, 143);">6</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(74, 85, 219);">)</span><span style="font-family: Monospaced; font-size: 12px; white-space: pre-wrap; color: rgb(0, 0, 0);">;</span>"

and the function is defined some lines bellow the call.

The error is that the funcion (its called variable) "Sis_Motor" is not defined but I don't know why.

If anyone can help me with that I'll be very grateful.

Thanks in advance for the help


Scilab Scripts-and-Functions 01-02 min 10-20 sec 13-05-21, 6:56 a.m. vra

Answers:

Hello, kindly re-post the entire Scilab code. It is difficult to read.
17-05-21, 10:21 a.m. rashpat93


Log-in to answer to this question.