You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
If you try to do structA(2) = structB, you may get an error saying "Subscripted assignment between dissimilar structures." This function makes the two structures have the same structure by adding extra fields to make them assignable. Missing fields will be assigned 'nan'.
Cite As
Sanjay Manohar (2026). ensureStructsAssignable( destination, source ) (https://au.mathworks.com/matlabcentral/fileexchange/67911-ensurestructsassignable-destination-source), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.23 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
