Effacer les filtres
Effacer les filtres

pass non-numeric data to simulink

2 vues (au cours des 30 derniers jours)
krishna teja
krishna teja le 8 Juil 2020
i want to evaluate a dlnetwork object in simulink. output of dlnetwork (type casted to double) will drive other blocks
i have used evalin to load workspace variable to inside matlab block of simulink. but when i want to run this model on parallel mode, everyitme i need to transfer all base workspace variabels, which creates lot of overhead.
i saw a post saying to define dlnetwork as input to matlab block and change scope to parameter, place matlab block inside masked subsystem.
i have followed it but, i keep getting error Expression 'dlnetwork' for type of data 'dlnet' did not evaluate to a valid type. Invalid setting for data type in 'testmdl/sys/matlabblock': The specified data type cannot be recognized.
kindly suggest ways to solve the issue

Réponses (0)

Catégories

En savoir plus sur Simulink Functions 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!

Translated by