MATLAB DATABASE TOOLBOX RELEASE NOTES Podręcznik Użytkownika Strona 662

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 684
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 661
7 Functions — Alphabetical List
7-232
ans =
yes
Save Preferences
You can save your preferences to a MAT-file to use them in future MATLAB sessions.
Suppose you want to reuse preferences that you set for fetching large data. Assign
the preferences to the variable FetchLargeData and save them to a MAT-file
FetchLargeDataPrefs in your current folder.
FetchLargeData = setdbprefs;
save FetchLargeDataPrefs.mat FetchLargeData
Later, load the data and restore the preferences.
load FetchLargeDataPrefs.mat
setdbprefs(FetchLargeData)
“Preference Settings for Large Data Import”
“Working with Preferences”
Input Arguments
property — Database preference
string | cell array
Database preference, specified as a string to denote a preference associated with data
return formatting, error handling, null data handling, or other properties. To set
multiple database preferences, enter the preference strings in a cell array and match
the order with the corresponding values in the value argument. For the complete list
of properties, see “Setting Database Preferences Using the setdbprefs Function” on page
6-75.
Example: 'DataReturnFormat'
Example: {'DataReturnFormat';'NullStringRead'}
Data Types: char
value — Database preference value
string | cell array
Przeglądanie stron 661
1 2 ... 657 658 659 660 661 662 663 664 665 666 667 ... 683 684

Komentarze do niniejszej Instrukcji

Brak uwag