csv file wrong numbers filled with MATLAB
4 views (last 30 days)
Show older comments
Achraf El Euch on 20 Mar 2023
Commented: Achraf El Euch on 22 Mar 2023
I am trying to fill a csv table in every loop in MATLAB but the values visible in the Excel file are wrong.
I am filling the csv file inside the function called myPlotFcn (attached a screenshot of the function definition) and It is called in the main script using 'solve' (attached the script too)
The excel file that I am getting is attached too, and 13577.5 was supposed to be 13577 and the value 124066999999999 was supposed to be 12406, I checked the values in MATLAB before that they get sent to the csv file.
I would be very grateful for any help with this :)
dpb on 20 Mar 2023
Moved: dpb on 20 Mar 2023
"(attached a screenshot of the function definition)..."
Don't use images for code; attach the text and format the code. Nobody can do anything but look at an image.
More Answers (0)
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!