Single precision equivalent to the Electrical RMS and Mean blocks
Mostra commenti meno recenti
Hi,
I am trying to generate C code from a Simulink model, in order to run it on an embedded platform. This platform can only use its hardware acceleration when dealing with single precision floats, meaning that the execution time for double precision computations is (unsurprisingly) atrocious.
Unfortunately, the model features two types of block that appear unable to work with single precision: the RMS and Mean blocks from the “Electrical” library. Would you know of any single precision compatible blocks that could offer an alternative?
Thanks in advance.
1 Commento
Segmentation Fault
il 4 Mag 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Real-Time Deployment in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!