フィルターのクリア

save changes in variable pass in timer function

3 ビュー (過去 30 日間)
FRANCISCO JAVIER
FRANCISCO JAVIER 2021 年 7 月 19 日
コメント済み: FRANCISCO JAVIER 2021 年 7 月 21 日
I want to change the value of a variable ( Precio) that i pass to a function in a timer. In the following call that variable don't update. How can update this variable. Here is the function of my timer and the arguments. Thanks
function leer_ofertas_nuevas( hObject, eventdata,Fecha, Contrato, Zona, Agente, Unidad, Precio, Cantidad, handles)
  6 件のコメント
Walter Roberson
Walter Roberson 2021 年 7 月 20 日
When Precios is changed in the code, have your code store a copy of it in the UserData property of the timer object, and do not pass it in. Have the function pull the value out of the UserData of hObject.
FRANCISCO JAVIER
FRANCISCO JAVIER 2021 年 7 月 21 日
thanks for your answer

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by