Simulink error,STM32-MAT package,Invalid index:Component:Simulink | Category:Block diagram error.

23 views (last 30 days)
QQ图片20190421114743.png
QQ图片20190421114759.png
Matlab version:2018b
STM32-MAT version:4.4.2
Before I used the simple demo from ST ,I tried to build a model for STM32F407 which is very simple.It just contains a pulse generators and a GPIO block,when i click the simulation button, everything go right.But if I want to bulid it in C/C++,matlab report a error.I don't know whitch block makes mistakes.Maybe there is several mistakes in configuration?So I decide to use the demo from ST,but it doesn't work out.The same problem occurs.
QQ截图20190421122958.jpg
The installation path is set.I have checked the configuration two times,it should be right.
How to fix it?
By the way,the demo is saved by matlab 2016b.
If someone can help me,thanks for your kindness. :)

Answers (1)

SADIK YILDIZ
SADIK YILDIZ on 23 May 2021
Hi;
I have used MATLAB R2018b. I had same problem. I updated MATLAB Add-Ons. The problem had been solved (You can see solution in figure)

Products

Community Treasure Hunt

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

Start Hunting!