Robocam: MATLAB App-Designer Calculator-Code view | part2

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 14

  • @salvadorrojas-murillo4808
    @salvadorrojas-murillo4808 5 місяців тому

    great video! congrats!

  • @samanthanicole09
    @samanthanicole09 2 роки тому +2

    please help if i want to add cos/sin/tan functions

  • @lynovack
    @lynovack 3 роки тому +1

    you saved me

  • @sleepy_ash3048
    @sleepy_ash3048 Рік тому

    gracias, buen video :D

  • @aliyaman6669
    @aliyaman6669 3 роки тому

    Hi,
    i did not understand why is it necessary that writing
    app.integerNumber=0;
    app.dotNumber='';
    app.enableDot=0;
    line 201,202, and 203. in 21:29
    could you help me?

    • @robocamedu
      @robocamedu  3 роки тому +1

      app.integerNumber is use to store current user input, so you need to reset on every we type a new value on any calculation that why we have to reset by using app.inegerNumbe=0;
      app.dotNumber=' ' mean we want to rese t current float number before input a new value.
      app.enableDot=0 mean we want to be able to apply a new dot to a new value again [ex. 3.14+2.3, 3.14 is an old which we've modify "." to it, so 2.3 we need to add "." again that why we have to reset it].
      if you still not clear at which point, write your question below.

    • @aliyaman6669
      @aliyaman6669 3 роки тому

      @@robocamedu oh yeah you're right, i understood exactly, thanks for helping

    • @aliyaman6669
      @aliyaman6669 3 роки тому

      ​@@robocamedu i understood everything except one thing. i think that we do not need to app.dotNumber. If we need, why we need? could you explain it please? thanx

  • @MyMindMania
    @MyMindMania 3 роки тому

    I kept getting this error:
    Unrecognized method, property, or field 'label_result' for class 'MyCalculator_2'.
    When I type this:
    result = [app.label_result.Text '1'];
    newResult = str2num(result);
    app.label_result.Text = num2str(newResult);
    How do I fix this?

    • @robocamedu
      @robocamedu  3 роки тому

      I suggest you to check your label name again, because you maybe didn't change the result label name to label_result.

    • @luismariobernardomartinez6935
      @luismariobernardomartinez6935 2 роки тому

      @@robocamedu i have this error x2

  • @andresvasconez5027
    @andresvasconez5027 3 роки тому

    Thanks !!!

  • @vannchhai9872
    @vannchhai9872 5 років тому

    លោកគ្រូនៅលេខខាងក្រោយDot បានត្រឹមតែ4លេខ

    • @robocamedu
      @robocamedu  5 років тому

      ដើម្បីបានលើសពី៤ខ្ទង់ យើងត្រូវប្រើពាក្យ format long មុននិងបង្ហាញទិន្ន័យ។