필터 지우기
필터 지우기

errors in MATLAB/simulink while using logic analyzer

조회 수: 2 (최근 30일)
Henry Buck
Henry Buck 2015년 12월 9일
답변: Bharath Venkataraman 2015년 12월 9일
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

답변 (1개)

Bharath Venkataraman
Bharath Venkataraman 2015년 12월 9일
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.

카테고리

Help CenterFile Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by