generateFunction() failedin MATLAB analysis and MATLAB vis.

hi am 10 Jul. 2021 (Bearbeitet am 12 Jul. 2021)
Letzte Aktivität Antwort von Christopher Stapels am 26 Jul. 2021

generateFunction() failed in MathLab analysis and MathLab vis. where can i put generated function in the Apps->MathLab analysis list?

hi
hi am 10 Jul. 2021

can i save it to MathLab Drive online? the generated function .m by generateFunction?

hi
hi am 10 Jul. 2021 (Bearbeitet am 10 Jul. 2021)

the example example of abnormal detection by encoder and decoder

https://github.com/aloytyno/Autoencoder-based-anomaly-detection-for-sensor-data %ttps://www.mathworks.com/matlabcentral/fileexchange/77554-autoencoder-based-anomaly-detection-for-sensor-data

but generateFunction(autoenc,'anomalyDetectorFunc.m') failed because it cannot save the method to the list in the image.

any method i can save the method .m?

Christopher Stapels
Christopher Stapels am 13 Jul. 2021

Can you describe why you need to use "generateFunction()"? This function seems to be for solving symbolic equations.

Christopher Stapels
Christopher Stapels am 10 Jul. 2021

Can you describe the overall goal of your project? What are you trying to achieve? Id like to understand your application to better help.

hi
hi am 26 Jul. 2021 (Bearbeitet am 26 Jul. 2021)

i want to save a variable to a file or just generateFunction() to save as a .m for it to work

Christopher Stapels
Christopher Stapels am 26 Jul. 2021

You can save variables using thingSpeakWrite() and using another channel. Can you tell us anything more about your purpose for using generateFunction() on an IoT platform? That kind of work seems best done in the desktop MATLAB environment.