Skip to content

MtApi5: Matlab compatibility - SerializableAttribute #149

Open
@KptKuck

Description

@KptKuck

Matlab can not save .NET data types. At least not at the moment.
The only way is to serialize the data types. Unfortunately, the "SerializableAttribute" is not set for the crucial types.

Would this be possible for all data types that are exported?
https://docs.microsoft.com/en-us/dotnet/api/system.serializableattribute?view=netframework-4.7.2
https://de.mathworks.com/matlabcentral/answers/260533-how-can-i-save-net-objects-in-a-mat-file-in-matlab-r2015b

MtApi5.MqlRates
MtApi5.MqlBookInfo
MtApi5.MqlTick
MtApi5.Events
MtApi5.MqlTradeCheckResult (less important)
MtApi5.MqlTradeRequest (less important)
MtApi5.MqlTradeResult (less important)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions