Borrar filtros
Borrar filtros

error assign value in field text app designer

7 visualizaciones (últimos 30 días)
piero
piero el 25 de Ag. de 2023
Respondida: Dinesh el 6 de Sept. de 2023
app.LastDateRicalcoloEditField.Value="g";
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array
element.
Error in Predator_Equity/PortfolioTabButtonDown (line 354)
app.LastDateRicalcoloEditField.Value="g";
Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...
Error using matlab.ui.internal.componentframework.WebComponentController/handleClientEvent
Error while evaluating Tab ButtonDownFcn.

Respuestas (1)

Dinesh
Dinesh el 6 de Sept. de 2023
Hi Piero.
The error message you're seeing, "Property assignment is not allowed when the object is empty", typically arises when you're trying to set a property on an object that hasn't been initialized or has been accidentally deleted.
To fix the issue:
  1. Ensure "LastDateRicalcoloEditField" exists and is correctly initialized.
  2. Check the scope and structure of the "app" variable within the callback.
  3. Ensure that no unintentional deletions or modifications of UI components are happening within callbacks or other parts of your code.

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by