How can I send the Output data generated by Matlab Simulink Model on GCP?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am working in EV BMS System. I am designing one simulink model which will generate the reading of current and voltage as an ouput. Now , I need to send all the readings to my Google Cloud Platform to anlayse. Is there any way by which i can send it.
Thanks
0 Kommentare
Antworten (1)
Nithin
am 10 Feb. 2025 um 11:31
Hi Yash Mittal,
To send the readings you generated to Google Cloud Platform (GCP), you can start by exporting the data to a "csv" or ".mat" file.
voltageData = out.voltage; % Assuming 'out' is the structure with your data
currentData = out.current;
dataTable = table(voltageData, currentData);
writetable(dataTable, 'bms_data.csv');
Once you have your data in a "csv" file, you can upload it to Google Cloud Storage (GCS), which can then be accessed by other GCP services. You can also acheive this by installing and configuring the Google Clound SDK in your machine and upload your files to a GCS bucket using the "gsutil" command.
Leverage the following MathWorks documentation to learn more about "writetable" function:
Refer the following documentation to understand about the ‘gsutil’ command:
I hope this resolves your query.
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!