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

  Рет қаралды 44,129

Programmer World

Programmer World

Күн бұрын

This video shows the steps to log the simulink scope data to matlab workspace and then export that data to an Excel file using writetable command.
Complete Source code is available at:
programmerworl...
We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com

Пікірлер: 22
@thishowIknowit
@thishowIknowit Ай бұрын
Love this video! Very helpful. Thank you SIR. RESPECT.
@hkfairbanks
@hkfairbanks 2 жыл бұрын
Thanks! Just what I was looking for!
@taiwoomisogbon8763
@taiwoomisogbon8763 Жыл бұрын
Thank you. This was a great deal of help.
@RizwanKhan-wt7om
@RizwanKhan-wt7om Жыл бұрын
Thank you sir, it really worked, stay blessed
@mohamedelkholy2421
@mohamedelkholy2421 Жыл бұрын
Thank you. It helped me very much!
@anikethake54
@anikethake54 3 жыл бұрын
Thanks, very well explained
@shaffiem.4492
@shaffiem.4492 7 ай бұрын
thank you sir!
@mohamadfaisal7813
@mohamadfaisal7813 4 жыл бұрын
Thank you very much. It was very helpfull for me friend
@shyamaldas8516
@shyamaldas8516 2 жыл бұрын
Thanks
@Kuldreck101
@Kuldreck101 4 жыл бұрын
Thank you
@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 -
@Toosharp1622
@Toosharp1622 Жыл бұрын
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 -
@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.
@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 жыл бұрын
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/ -
@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/ -
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 45 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 12 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 58 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 68 МЛН
Interacting with a Simulink Model from a Matlab Script
44:36
Christopher Lum
Рет қаралды 184 М.
Libraries in Simulink Made Easy
24:58
MATLAB
Рет қаралды 13 М.
💻 How to import and plot data from EXCEL to MATLAB ?
14:29
CAD CAM CAE TUTORIALS
Рет қаралды 103 М.
Creating Figures with Matlab Simulink Scope Plots
10:00
Sandun Kuruppu
Рет қаралды 29 М.
Plotting Scope Data In MATLAB Simulink
8:02
Electrical Video Tutorials
Рет қаралды 15 М.
Simulink: Tips and Tricks
36:48
MATLAB
Рет қаралды 37 М.
Ziegler Nichols PID Tuning Method Using Simulink
15:00
Higher Meditations
Рет қаралды 54 М.
Simulink: Using MatLab Data
6:25
twalsh123
Рет қаралды 48 М.
Vehicle Modeling Using Simulink
30:42
MATLAB
Рет қаралды 243 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 45 МЛН