This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: During Monitor & Tune inside Matlab/Simulink all blocks are grayed out and I can't change any model parameter during operation.

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: DRV8305

Tool/software:

Hi,

We are moving from CCS to Matlab environment to ease things for education (We a re setting up a set of test-benches for BLAC & BLDC drives with the Launchpad and DRV8305 for our drives subjects) and as I follow the getting started guide in the videos series (https://es.mathworks.com/videos/series/getting-started-with-c2000-microcontroller-blockset.html) I have just realized in an example involving external interrupts that I am not able to modifiy any parameter of the model during Monitor&Tune. Anything looks greyed out and the edit fields cannot be changed. I have tried to declare variables associated to several parameter fields but then I can change the variable value using the model data editor panel but the model results do not change at all. I have done this e.g. changing a gain value in a line between a limited counter and the scope placed after it.

I have seen it happen so naturally in the videos but we can't at all.

In our previous experience in debugging inside CCS we have been able to change variables values with no problem at all, using the same card, computer, USB cable and so on.

The image below is the look of the gain block parameters edit dialog during model edition (program in launchpad not being monitored):

The image below  shows the look (grayed) of the gain block parameters edit dialog during mointor and tune:

The image above includes also a scope to show that, althoug the gain parameter is set to 1, actually the previous (the value of the variable when the model was compiled and linked) value of 2 is still being used by the model.

Any help will be welcome!