Effacer les filtres
Effacer les filtres

How to message self anonymously from Matlab?

5 vues (au cours des 30 derniers jours)
Michael
Michael le 11 Déc 2022
I am working on a machine where several users can log in and use the same account. We all collaborate on same code and use 100% of CPU and GPU at any given time so this arrangement makes sense. However, this makes it hard to use sendmail from Matlab because you do not want to enter your credentials for any mail service into any script or config settings. You could try to use sendmail as an anonymous server but most email hosts will bounce you because they think you are spam.
So this leads to my question. Has anyone figured out a good reliable way to message self from Matlab without poroviding any security credentials? This could be a text message or a phone call or any other means of messaging, so long as it is highly likely to go through and does not require security credentials. I just want to get updates on how my multiple day simulations are running without logging into the machine and without giving away my security credentials to anyone else who might log into the box.
  2 commentaires
Michael
Michael le 11 Déc 2022
The first code lines in that m-file are:
% YOU NEED TO TYPE IN YOUR OWN EMAIL AND PASSWORDS:
mail = 'matlabsendtextmessage@gmail.com'; %Your GMail email address
password = 'sendtextmessagematlab'; %Your GMail password
In other words, I would need to provide security credentials for this to work. That's something I can do already with e.g. sendmail. My question was specifically how to send a short notice anonymously.

Connectez-vous pour commenter.

Réponses (1)

Abhijeet
Abhijeet le 4 Sep 2023
Hi Michael,
I can understand that you want update from your simulation on a different system without sharing your credentials. For doing you can create a SQL server where the timely update progress from MATLAB is stored and then you can access the same database by connecting to the same server from different system
I hope this information was helpful!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by