Error Cannot find a valid sample time for the model. Continuous signal rates are not supported in native floating-point mode.

6 views (last 30 days)
For the block 'Landing_gear_V13HDL_5'
Cannot find a valid sample time for the model. Continuous signal rates are not supported in native floating-point mode.
Plese suggest solution, thanks in advance..

Answers (1)

Kiran Kintali
Kiran Kintali on 23 Apr 2023
Edited: Kiran Kintali on 23 Apr 2023
This is error is auto-resolved in HDL Coder starting R2023a release.
Infinite samples times resolve to discrete rates during HDL code generation
Previously, when generating HDL code from a model design that contained infinite sample times, you could not apply optimizations that added or handled latency in your design, such as streaming, sharing, clock-rate pipelining, or delay balancing. Starting in R2023a, you can generate HDL code from a Simulink model with optimizations that add latency and contain infinite sample times that do not propagate to the DUT output. During HDL code generation, the infinite sample times are resolved to discrete rates in the generated model and HDL code. For more information, see Use Discrete and Finite Sample Time for Constant Block.

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!