How to export simulink scope data to Excel sheet file using writetable command in MATLAB?

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 22

  • @thishowIknowit
    @thishowIknowit 5 місяців тому +1

    Love this video! Very helpful. Thank you SIR. RESPECT.

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

    Thanks! Just what I was looking for!

  • @taiwoomisogbon8763
    @taiwoomisogbon8763 Рік тому +1

    Thank you. This was a great deal of help.

  • @RizwanKhan-wt7om
    @RizwanKhan-wt7om 2 роки тому +1

    Thank you sir, it really worked, stay blessed

  • @mohamedelkholy2421
    @mohamedelkholy2421 2 роки тому +1

    Thank you. It helped me very much!

  • @anikethake54
    @anikethake54 3 роки тому +2

    Thanks, very well explained

  • @shaffiem.4492
    @shaffiem.4492 11 місяців тому +1

    thank you sir!

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

    Error using table
    All table variables must have the same number of rows.
    I've performed RLC ckt analysis and this error occured what should i do?

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

      Check the dimension of the variables you are trying to write to TABLE. You can use WHOIS command in the command prompt to get the dimension of all the variables in the workspace.
      As the error message says, a table can successfully be written only when all the variables being written in it is of same size.
      For reference, details shown in this video is also shared in the below link:
      programmerworld.co/simulink/how-to-export-simulink-scope-data-to-excel-sheet-file-using-writetable-command-in-matlab/
      Cheers
      Programmer World
      programmerworld.co
      -

  • @mohamadfaisal7813
    @mohamadfaisal7813 4 роки тому +1

    Thank you very much. It was very helpfull for me friend

  • @Kuldreck101
    @Kuldreck101 5 років тому +1

    Thank you

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

    Thanks

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

    Simply use 'to workspace' block near scope and give the variable name there. after that make table and rest the same..

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

      Yes, thanks. This ( 'to workspace' block) is also another approach one can use to export data to workspace from Simulink model.
      Cheers
      Programmer World
      programmerworld.co
      -

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

    I am getting this error sir, "The data block starting at cell 'A1' exceeds the sheet boundaries" its going beyond excel sheet limit on x axis.

    • @NishC300
      @NishC300 2 роки тому +1

      Export it to a csv. There is a limit to how many rows a .xls file can have. Ofc, do keep in mind that even csv files have a limit to how many rows they can contain too.

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

      I think the maximum number of rows permitted to be written in Excel is 2^20 which is 1,048,576. So, for larger data sets it would be good to split it into multiple sheets.
      Cheers
      Programmer World
      programmerworld.co/
      -

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

    When I had run script for creation of table I am getting error lik" undefined variable out" please help on this

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

      Please check if the variable "out" exists in the workspace.

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

    My case out file not created in workspace ?

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

      Not existing in workspace in out variable
      What can do ?

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

      Enable logging data in Scope widow should solve this.
      - Go to Settings (from scope plot window)->Logging Tab
      - Then enable "Log data to workspace" checkbox.
      Cheers
      Programmer World
      programmerworld.co/
      -