Error in 'Qss_series_tr/Battery Controller/Geno-Group On/Clock': Failed to evaluate mask initialization commands.
1 view (last 30 days)
Show older comments
Hello it is I am currently doing my final year project. My topic is "Design and simulation of hybrid electric mini tractor". For that i have to simulate three different powertrains In order to select configuration. I have made these three powertrains using QSS system Toolbox. But I am getting errors on running the simulation of series HEV Powertrain model. I have mentioned problem and model below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/577032/image.png)
Error in 'Qss_series_tr/Battery Controller/Geno-Group On/Clock': Failed to evaluate mask initialization commands.
Caused by:
- Error: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.
If anybody knows a solution to this please answer as early as possible.
1 Comment
Maadhav Akula
on 22 Apr 2021
Edited: Maadhav Akula
on 22 Apr 2021
Hi Pratik,
Without the model it's difficult to debug, according to the error, I would suggest you to have a look at the Mask Initialization Commands of that particular block.
Answers (1)
Mike Sasena
on 20 Jun 2022
One thing I see in your model is that you've created 2 subsystems that don't have connected inputs. It looks like you're trying to create a single model that has different variants for the powertrain system in it. I'd highly recommend you look at Variant Subsystems as a way to manage the architecture.
0 Comments
See Also
Categories
Find more on Powertrain Reference Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!