Post Go back to editing

MathWorks Behavioral Models

Thread Summary

The user encountered a 'Colon operands must be real scalars' error when running the AD9635 Simulink ADIsimADC Model in MATLAB R2025a. The issue is due to the model being developed for an earlier MATLAB version. The user was directed to a MATLAB Central discussion for a potential fix. The user also inquired if ADI plans to release an updated version of the ADC models for the latest MATLAB release.
AI Generated Content
Category: Software
Product Number: AD9635

I downloaded the AD9635 model and run the Main.m script.

I get the following error using Matlab R2025a version

Error using :
Colon operands must be real scalars.

Error in
MOTIF_if/getChildren (line 348)
element = xmlString(2:firstChildIdx-2);
^
Error in
MOTIF_if/queryPropValues (line 178)
queryPropsElements = MOTIF_if.getChildren(response);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
Main (line 54)
props = m.queryPropValues();
^^^^^^^^^^^^^^^^^^^
Do you have any clue on that?
Thanks
Regards,
Alberto