Filter löschen
Filter löschen

error assign value in field text app designer

7 Ansichten (letzte 30 Tage)
piero
piero am 25 Aug. 2023
Beantwortet: Dinesh am 6 Sep. 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.

Antworten (1)

Dinesh
Dinesh am 6 Sep. 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.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by