Is there an alternative to Matlab "makehgtform" function? (compatible with C/C++ code-generation)
Ältere Kommentare anzeigen
I am using the mentioned function (makehgtform) to create a rotation matrix around a 3D axis within a function that I wish to convert to C++, however it is apparently not compatible with code generation at the moment.
"The extrinsic function 'makehgtform' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated. It could not be eliminated because its outputs appear to influence the calling function. Fix this error by not using 'makehgtform' or by ensuring that its outputs are unused."
I was wondering, is there any way to implement such rotation without the use of this function? What´s the underlying method that Matlab uses to calculate this rotation matrix? I haven´t been able to find it.
Thank you very much. Cheers.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu App Building finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!