quaternion-matlab-library's Introduction
quaternion-matlab-library's People
quaternion-matlab-library's Issues
non-complex and complex issues in simulink
Hi, dear xioTechnologies team,
I hope everything goes well with you and thanks a lot for sharing this wonderful quaternion matlab library.
I am a student from the University Hamburg, I have a Simulink problem when I try to use your library:
The 'rotMat2quatern' function works well in matlab, as good as Eigen (C++), while when I past the function into the simulink matlab function, I got the error information as follow:
`The left-hand side has been constrained to be non-complex, but the right-hand side is complex. To correct this problem, make the right-hand side real using the function REAL, or change the initial assignment to the left-hand side variable to be a complex value using the COMPLEX function.
Function 'xioTechnologies_Quaternion-MATLAB-Library' (#23.1380.1396), line 38, column 9:
"q(i,:) = V(:,4)'"
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'justTest/xioTechnologies_Quaternion-MATLAB-Library'
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'justTest/xioTechnologies_Quaternion-MATLAB-Library'
Component:Simulink | Category:Model error`
I tried to change the equation of q(i,:) = V(:,4)';
with real() function, it still not work in Simulink, it really makes me confused.
I would appreciate if you can give me some suggestions.
Best,
Raymond
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.