Azzera filtri
Azzera filtri

errors in MATLAB/simulink while using logic analyzer

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Bharath Venkataraman
Bharath Venkataraman il 9 Dic 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.

Categorie

Scopri di più su Configure Simulation Conditions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by