Need Julian Date to update in real time during Simulink Simulations
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
As the title describes, I am trying to run a simulation on simulink where I would need the Julian date to update continously using the simulation time. So far, I was using the clock function into a constant block to get the starting time of simulation and the clock block to get the simulation time. Both sources are connected to a Mathlab function block as inputs, and in the function block file, I was first adding both inputs to get the time at the current step and than using this time in the 'juliandate' funciton to get the julian date at the current time step.
The issue is that en error is poping up telling me that "Function 'juliandate' not supported for code generation" so I guess I can't use the 'juliandate' function into a Mathlab function block. Is there anyother way I can achieve what I need?
Thanks
2 commentaires
Eric Sofen
le 6 Déc 2021
Thanks for raising this issue. I've created an enhancement request for code generation support for the juliandate function.
Réponses (0)
Voir également
Catégories
En savoir plus sur Axes Transformations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!