Effacer les filtres
Effacer les filtres

errors in MATLAB/simulink while using logic analyzer

2 vues (au cours des 30 derniers jours)
Henry Buck
Henry Buck le 9 Déc 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

Réponses (1)

Bharath Venkataraman
Bharath Venkataraman le 9 Déc 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.

Catégories

En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by