Syntax Error with Fcn Block in Simulink

2 vues (au cours des 30 derniers jours)
Samuel Gottesfeld
Samuel Gottesfeld le 15 Juil 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

Réponses (1)

Jonas
Jonas le 15 Juil 2019
Are you sure the input of the function block has a signal dimension of 6?
  3 commentaires
Jonas
Jonas le 15 Juil 2019
Could you upload the subsystem as displayed on your screenshot?
Samuel Gottesfeld
Samuel Gottesfeld le 15 Juil 2019
Modifié(e) : Samuel Gottesfeld le 15 Juil 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by