Borrar filtros
Borrar filtros

errors in MATLAB/simulink while using logic analyzer

2 visualizaciones (últimos 30 días)
Henry Buck
Henry Buck el 9 de Dic. de 2015
Respondida: Bharath Venkataraman el 9 de Dic. de 2015
Hi,
I using logic analyzer in a simple design and I got some errors:
for example:
>> Logic_Anlzr_pwm1
Warning: Matching "From" for "Goto" 'pwm1/Goto24' not found
> In Logic_Anlzr_pwm1 at 5
Warning: The model 'pwm1' does not have continuous states, hence Simulink is using the
solver 'VariableStepDiscrete' instead of solver 'ode45'. You can disable this
diagnostic by explicitly specifying a discrete solver in the solver tab of the
Configuration Parameters dialog, or by setting the 'Automatic solver parameter
selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters
dialog
> In Logic_Anlzr_pwm1 at 5
Error using analyzeLogicFromSimulink (line 51)
All elements in the Simulink Dataset must have the same sample time.
Error in Logic_Anlzr_pwm1 (line 7)
analyzar = analyzeLogicFromSimulink(logsout_r);
I used it before in another design and it works ok.
can anyone help me to solve this problem ?
Thanks,
Henry

Respuestas (1)

Bharath Venkataraman
Bharath Venkataraman el 9 de Dic. de 2015
Currently, the Logic Analyzer System object can only show signals of a single rate. If the signals you are logging are different rates, you need to reconcile them into a single rate before using the Logic Analyzer. Or else, you can instantiate multiple Logic Analyzers, each for a given rate.

Categorías

Más información sobre Configure Simulation Conditions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by