hey assistent
- User
hey assistent
- Assistant
Hello! How can I assist you today?
- User
I have this in matlab writecell(d_Measured, fullfile(nomRepertoire,[nomFile,'_','Deceleration.xlsx']),'Sheet',replace([name_vehicle,'Measured',num2str(iVehicle)],{' ','-'},''),'AutoFitWidth',false); the problem with it is tha d_measured is sometimes bigger than the exel can handle on colloms ( it is usually a 4x30000 cell) I want it like this. if d_masured > 16000 than on that xlsx export only d_emasured from 1:15. the rest are should be speed_vs_accel = d_measured[15:end] and be on 2 colloms and rows not 2 rows and to many colloms
- Assistant
- User
no no, speed_vs_accel if is >16000 should be written in another sheet on the same exle
- Assistant
- User
no only do this verifications if d_measured has more than 16000 values like here if d_masured > 16000 d_measured = d_measure[1:15] speed_vs_accel = d_measured[15:end] sa fie pe coloana
- Assistant
Apologies for the confusion! If you only need to perform these operations when
d_Measuredhas more than 16000 values, and directly assign values tod_Measuredandspeed_vs_accelbased on this condition, here's the corrected code:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.