Syntax Error with Fcn Block in Simulink

2 visualizaciones (últimos 30 días)
Samuel Gottesfeld
Samuel Gottesfeld el 15 de Jul. de 2019
Editada: Samuel Gottesfeld el 15 de Jul. de 2019
Hello,
I am working on a model for a BLDC motor. I am using the Fcn block for my inputs in the current generation subsystem. I seem to be getting a syntax error when I run the simulation. Any help is appreciated.
Best,
Samuel

Respuestas (1)

Jonas
Jonas el 15 de Jul. de 2019
Are you sure the input of the function block has a signal dimension of 6?
  3 comentarios
Jonas
Jonas el 15 de Jul. de 2019
Could you upload the subsystem as displayed on your screenshot?
Samuel Gottesfeld
Samuel Gottesfeld el 15 de Jul. de 2019
Editada: Samuel Gottesfeld el 15 de Jul. de 2019
Thank you for your patience regarding my reply. It was near 2:30 am when i posted this question, and I fell asleep. Posted is the complete subsystem for the current generation.
Capture1 is inside of the subsystem in capture3; then capture4 has the subsystem in capture3. Capture5 is the complete model of the BLDC motor.

Iniciar sesión para comentar.

Categorías

Más información sobre Programmatic 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