iniline unction in matlab

does inline can be used in R2020a? if not, what is the substitution for this function?

1 commentaire

Rik
Rik le 13 Mai 2020
Inline functions should be replaced by str2func calls, or by anonymous functions. What is your use case for inline functions?

Connectez-vous pour commenter.

Réponses (1)

Ameer Hamza
Ameer Hamza le 13 Mai 2020
Modifié(e) : Ameer Hamza le 13 Mai 2020

0 votes

Inline still works in R2020a, however, it is not recommended anymore. If you are trying to construct functions from strings, then see str2func(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/str2func.html

Catégories

En savoir plus sur Function Creation dans Centre d'aide et File Exchange

Produits

Version

R2020a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by