Clear Filters
Clear Filters

Why do I get the error "The methods whosimpl must return an array of structures with field name 'name'"?

3 views (last 30 days)
While opening sldvData.mat file using 'SignalEditor' I am receiving the following error messages. How can I resolve this issue?

Answers (1)

Ruchika
Ruchika on 10 Aug 2023
Hi, the error message you are encountering, "The methods whosImpl must return an array of structures with field name 'name'"which is specific to MATLAB's ‘Signal Editor’ tool. This error typically occurs when the structure array returned by the 'whosImpl' method does not have a field named 'name'.
The ‘Signal Editor’ tool in MATLAB relies on the 'whosimpl' method to retrieve information about the signals in the loaded data file. This method should return a structure array with specific fields, including 'name', which holds the names of the signals.
To resolve this error, you need to ensure that the 'whosimpl' method returns a structure array with the correct field names. Make sure that the loaded 'sldvData.mat' file contains the necessary information and that the 'name' field is present in the structure array.
To learn more about the method ‘whosImpl’, please check out the MathWorks documentation links below:

Categories

Find more on Create Signal Data for Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!