No matching constructor signature
9 views (last 30 days)
Show older comments
Hi there,
I got a question about opening a simulink model. Since some time I get the warning in MATLAB:
Warning: Simulink.ModelWorkspace object could not be loaded because of error:
No matching constructor signature.
> In load_system at 21
In myInnerFunction at 61
In myOuterFunction at 343
Unfortunately, I can't really tell since when I get this warning. Does anyone understand what it means and how it can be correted? Googleing for this error has not shown me anything useful. I'm using two C-Mex S-functions to simulate a dynamical system. Besides that, there is nothing fancy in it but this is the only simulink model where this happens.
Thanks for any advice.
==========================================================================
ver command:
MATLAB Version 7.13.0.564 (R2011b)
MATLAB License Number: *******
Operating System: Linux 2.6.39-generic64-isg-ee-smp-3 #1 SMP Wed Jan 18 10:58:52 CET 2012 x86_64
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.13 (R2011b)
Simulink Version 7.8 (R2011b)
Aerospace Blockset Version 3.8 (R2011b)
Aerospace Toolbox Version 2.8 (R2011b)
Bioinformatics Toolbox Version 4.0 (R2011b)
Communications System Toolbox Version 5.1 (R2011b)
Computer Vision System Toolbox Version 4.1 (R2011b)
Control System Toolbox Version 9.2 (R2011b)
Curve Fitting Toolbox Version 3.2 (R2011b)
DSP System Toolbox Version 8.1 (R2011b)
Database Toolbox Version 3.10 (R2011b)
Datafeed Toolbox Version 4.2 (R2011b)
EDA Simulator Link Version 3.4 (R2011b)
Econometrics Toolbox Version 2.0.1 (R2011b)
Embedded Coder Version 6.1 (R2011b)
Filter Design HDL Coder Version 2.9 (R2011b)
Financial Toolbox Version 4.1 (R2011b)
Fixed-Income Toolbox Version 2.2 (R2011b)
Fixed-Point Toolbox Version 3.4 (R2011b)
Fuzzy Logic Toolbox Version 2.2.14 (R2011b)
Global Optimization Toolbox Version 3.2 (R2011b)
Hybrid Toolbox Version 1.2.5 -
ICTools Version 6.0W
Image Acquisition Toolbox Version 4.2 (R2011b)
Image Processing Toolbox Version 7.3 (R2011b)
Instrument Control Toolbox Version 3.0 (R2011b)
MATLAB Builder JA Version 2.2.3 (R2011b)
MATLAB Coder Version 2.1 (R2011b)
MATLAB Compiler Version 4.16 (R2011b)
MATLAB Report Generator Version 3.11 (R2011b)
Mapping Toolbox Version 3.4 (R2011b)
MatLab Geodetic Toolbox Version 2.92a
Model Predictive Control Toolbox Version 4.0 (R2011b)
Multi-Parametric Toolbox Version 2.6.3 (R2008a)
Neural Network Toolbox Version 7.0.2 (R2011b)
Optimization Toolbox Version 6.1 (R2011b)
Parallel Computing Toolbox Version 5.2 (R2011b)
Partial Differential Equation Toolbox Version 1.0.19 (R2011b)
RF Toolbox Version 2.9 (R2011b)
Robust Control Toolbox Version 4.0 (R2011b)
Signal Processing Toolbox Version 6.16 (R2011b)
SimBiology Version 4.0 (R2011b)
SimDriveline Version 2.1 (R2011b)
SimElectronics Version 2.0 (R2011b)
SimEvents Version 4.0 (R2011b)
SimHydraulics Version 1.10 (R2011b)
SimMechanics Version 3.2.3 (R2011b)
SimPowerSystems Version 5.5 (R2011b)
SimRF Version 3.1 (R2011b)
Simscape Version 3.6 (R2011b)
Simulink 3D Animation Version 6.0 (R2011b)
Simulink Coder Version 8.1 (R2011b)
Simulink Control Design Version 3.4 (R2011b)
Simulink Design Optimization Version 2.0 (R2011b)
Simulink Fixed Point Version 7.0 (R2011b)
Simulink Report Generator Version 3.11 (R2011b)
Simulink Verification and Validation Version 3.2 (R2011b)
Stateflow Version 7.8 (R2011b)
Statistics Toolbox Version 7.6 (R2011b)
Symbolic Math Toolbox Version 5.7 (R2011b)
System Identification Toolbox Version 7.4.3 (R2011b)
Wavelet Toolbox Version 4.8 (R2011b)
YALMIP Version 3 (R2009b)
0 Comments
Accepted Answer
Kaustubha Govind
on 18 Jun 2012
Could you try running "rehash toolboxcache" at the MATLAB prompt and try calling load_system again? Does the warning go away?
0 Comments
More Answers (2)
xlr8t
on 19 Jun 2012
3 Comments
Kaustubha Govind
on 29 Jun 2012
Hmm.. I don't know enough about Linux to tell why "matlab" can't be started with sudo. I would recommend contacting MathWorks Tech Support also to check if they have a better solution.
Ujala Nadeem
on 1 Oct 2017
hey can anybody tell me why i am getting this "invalid constructor signature" error during arduinosetup in MATLAB. I am doing it to make the communication between arduino and MATLAB because i am inteded to take the values in simulink from an accelerometer which is connected with the arduino. Please help i am stuck with this.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!