Syntax Error with Fcn Block in Simulink

2 views (last 30 days)
Samuel Gottesfeld
Samuel Gottesfeld on 15 Jul 2019
Edited: Samuel Gottesfeld on 15 Jul 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

Answers (1)

Jonas
Jonas on 15 Jul 2019
Are you sure the input of the function block has a signal dimension of 6?
  3 Comments
Jonas
Jonas on 15 Jul 2019
Could you upload the subsystem as displayed on your screenshot?
Samuel Gottesfeld
Samuel Gottesfeld on 15 Jul 2019
Edited: Samuel Gottesfeld on 15 Jul 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.

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!