Distribution name 'Lognormal' is unrecognized
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Joy Shen
el 29 de Sept. de 2025 a las 22:10
Respondida: Walter Roberson
el 29 de Sept. de 2025 a las 23:32
I previously could run this line of code, however now it seems that makedist does not recognize it as I get the error, "Distribution name 'Lognormal' is unrecognized." The line of code is simply:
pd_frag{iDG}{iDM}=makedist("Lognormal",log(lam(iDM,iDG)),zeta);
when I check makedist, I only see six distributions loguniform, multinomial, normal, piecewiselinear, triangular, and uniform. I checked license('test', 'Statistics_Toolbox') and I get a 1 in return, so I'm assuming that's not the issue. My version is: MATLAB Version: 24.2.0.2773142 (R2024b) Update 2
Any ideas? Thanks
2 comentarios
Walter Roberson
el 29 de Sept. de 2025 a las 22:46
What do you get if you use
prob.ProbabilityDistributionRegistry.list('parametric')
?
Try also
makedist('-reset')
and then try your makedist again.
Respuestas (1)
Walter Roberson
el 29 de Sept. de 2025 a las 23:32
It sounds as if you have Simulink Design Optimization installed, getting https://www.mathworks.com/help/sldo/ref/makedist.html but that you do not have Statistics and Machine Learning toolbox installed.
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!