Error when loading external input data into root-level Inport
Afficher commentaires plus anciens
Hello,
i am trying to load a 365x2 double (average temperature data for every day of the year) that has been imported from an excel file and is located in the base workspace. I am using two input ports to pass the parameter to a simulink system, a subsystem and into a matlab function in said subsystem. I specified the matrix dimensions of the input port as [rows colums] in the block parameters -> signal attributes -> Port dimensions: [365 2], but i get following error message:
"Error loading external input data into root-level Inport ModelTest/Input in model 'ModelTest'.
Caused by: When loading a matrix input, the blocks loading the corresponding data columns of the matrix must specify dimension using a scalar."
How am i supposed to specify a matrix dimension using a scalar?
Thanks for your help!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Event Functions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!