Effacer les filtres
Effacer les filtres

Anyone knows How to converter AUTOSAR.Parameter to Simulink.Parameter

2 vues (au cours des 30 derniers jours)
APTX4869
APTX4869 le 23 Jan 2019
Commenté : APTX4869 le 25 Jan 2019
There are some AUTOSAR.Parameter in workspace.
I want to change their class to Simulink.Parameter using the command or .m script.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 24 Jan 2019
Save your workspace as a .m file and do find-and-replace.
Of course, AUTOSAR.Parameter objects have additional attributes than Simulink.Parameter objects. This approach is valid only when those additinal attributes can be ignored.
  1 commentaire
APTX4869
APTX4869 le 25 Jan 2019
Maybe there is not a matlab function to do it.
find-and-replace in m file is the simple way.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Create System Objects dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by