Error with Simulink block "From File".

1 visualización (últimos 30 días)
Tiziano Chiappalone
Tiziano Chiappalone el 29 de Sept. de 2017
Comentada: Angelico Manhique el 29 de Nov. de 2019
I DON'T put the block "From File" into my simulink model but i have this error, how can i solve it? I tried to run as admin, to close and restart the software, but it doesn't work.
I have Matlab R2017a as a student. Thank you for the attention
  1 comentario
Walter Roberson
Walter Roberson el 1 de Oct. de 2017
Can you attach your model? You might need to zip it to attach it.

Iniciar sesión para comentar.

Respuestas (1)

Marco
Marco el 30 de Sept. de 2017
Hello Tiziano, I think that the file untitled.m is into the same folder of your simulink model and that you configured the "from file" block with this file; is it correct?
I don't know the limitations of the student version but a possible work around could be: run the file untitled.m in oder to define the input variables of your simulink model and, after that, you can use the constant blocks (one block for each input value) as inputs or the model instead of the "from file" block.
BR Marco
  3 comentarios
Marco
Marco el 2 de Oct. de 2017
In the screenshot of the error that you put in your question I see that there is the block "from file" in the design. As suggested by Walter, can you attach your model?
Angelico Manhique
Angelico Manhique el 29 de Nov. de 2019
I have recently experienced the same problem and do not really understand its cause.
I created several Simulink blocks that make use of Simulink parameters which should be initialized as soon as I open the model and run it - and ALL of them actually run this way, with no major problems, except ONE.
Any thoughts out there for fixing this error?

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Model Editing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by