Effacer les filtres
Effacer les filtres

Inherited Sample time using from workspace

10 vues (au cours des 30 derniers jours)
Pourshid Fani
Pourshid Fani le 11 Sep 2017
Modifié(e) : Pourshid Fani le 12 Sep 2017
Hi,
I'm loading some data into simulink ('from workspace' block) from my matlab workspace, the data is in the form of a timeseries with one set of data and one set of Time data.
I use sim( 'model' ) to run the simulation.
The warning I get is
Warning: Source 'envi_NA540204_MGA1/rNA540204/BackToArmFrame_DATA_IN/From
Workspace1' specifies that its sample time (-1) is back-inherited. You should
explicitly specify the sample time of sources. You can disable this diagnostic
by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in
the Sample Time group on the Diagnostics pane of the Configuration Parameters
dialog box.
It was my understanding that I do not need to specify sample time if I use timeseries with Time data, what am I not getting here?
thanks pjf

Réponses (1)

Pourshid Fani
Pourshid Fani le 12 Sep 2017
This page clearly states that certain blocks can't be inherited, still feel like theres should be an option to omit having to manually input sample time

Catégories

En savoir plus sur Configure and View Diagnostics dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by