0
Under review
IQAN.export fails in MATLAB R2025b – Unrecognized property 'class' for Simulink.ConfigSet
Amirmasoud Molaei 2 days ago
in IQAN toolbox for Simulink
•
updated by Gustav Widén (System support) yesterday at 9:05 a.m. •
1
Description
Environment:
- MATLAB Version: R2025b
- IQAN Toolbox: IQAN Toolbox for Simulink
- Operating System: Windows 11
- Target Hardware: [e.g., MC4x]
Issue Summary:
While attempting to export a model using IQAN.export('ModelName'), the process fails immediately after the Model Advisor checks pass. The error occurs within the encrypted P-code file verifyAndExport.p.
Error Logs:
Matlab
### All checks passed!
Unrecognized method, property, or field 'class' for class 'Simulink.ConfigSet'.
Error in verifyAndExport
Error in IQAN.export (line 38)
verifyAndExport(model, varargin{:});
Troubleshooting Performed:
- Manual Check: Running
cs = getActiveConfigSet(model); class(cs);in the command window returns'Simulink.ConfigSet'correctly, confirming the model configuration is valid. - Path Check: Verified that
classis not being shadowed by other functions; it points to the MATLAB built-in. - Root Cause: It appears
verifyAndExport.pis attempting to access.classas a property of theSimulink.ConfigSetobject (e.g.,obj.class). In MATLAB R2025b, this syntax is no longer supported for this class, and the functional formclass(obj)orisa()must be used instead.
Request:
Since the source code is encrypted in verifyAndExport.p, I cannot apply a fix locally. Is there an updated toolbox version that supports the R2025b API, or a workaround to bypass this check during export?
Customer support service by UserEcho
The quick answer is that current version 1.00 of IQAN toolbox for Simulink is supporting MATLAB/Simulink versions between 2017b and 2023a.
IQAN toolbox for Simulink -supported versions / Knowledge base / IQAN
Looks like a new version would be needed in order to extend support to R2025b