Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable interpolation from Julia to Matlab: Treat adjoint vectors as row vectors #196

Open
tqml opened this issue Jan 14, 2022 · 0 comments

Comments

@tqml
Copy link

tqml commented Jan 14, 2022

Currently adjoint vectors from Julia are converted to structs in MATBAL instead of a row-vector (which would make more sense).

Version: Julia 1.7.1
Package Version: MATLAB.jl v0.8.2

Minimum Example

# Create an adjoint vector
C = [1.0, 2.0]'

# Creates a struct
mat"""
a = $(C)
a
"""

# creates a row vector
mat"""
a = $(C')'
a
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant